Fix UTC use in sandbox/update-version.

This commit is contained in:
Valentin Lorentz 2012-01-06 18:04:58 +01:00
parent eb1e04701d
commit 957311ed2b
2 changed files with 2 additions and 2 deletions

View File

@ -1,5 +1,5 @@
#!/usr/bin/env bash #!/usr/bin/env bash
echo "Updating version..." echo "Updating version..."
TZ="/usr/share/zoneinfo/UTC" perl -pi -e "s/^version\s*=\s*['\"]([\S]+)[ '\"].*/version = '\1 ($( date -Iseconds ))'/" src/version.py 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 git add src/version.py
# vim: set ft=sh: syntax: # vim: set ft=sh: syntax:

View File

@ -1,3 +1,3 @@
"""stick the various versioning attributes in here, so we only have to change """stick the various versioning attributes in here, so we only have to change
them once.""" them once."""
version = '0.83.4.1+limnoria (2011-12-06T17:42:04+0100)' version = '0.83.4.1+limnoria (2012-01-06T17:03:59+0000)'