diff --git a/sandbox/update-version b/sandbox/update-version index 191b16212..18878ec85 100755 --- a/sandbox/update-version +++ b/sandbox/update-version @@ -1,5 +1,6 @@ #!/usr/bin/env bash -echo "Updating version..." -perl -pi -e "s/^version\s*=\s*['\"]([\S]+)[ '\"].*/version = '\1 ($( TZ="/usr/share/zoneinfo/UTC" date -Iseconds ))'/" src/version.py -git add src/version.py -# vim: set ft=sh: syntax: +echo -n "Updating version... " +perl -pi -e "s/^version\s*=\s*['\"]([\S]+)[ '\"].*/version = '\1 ($( date -u -Iseconds ))'/" src/version.py +git add src/version.py && echo "done" + +# vim: set ft=sh: