mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-26 20:59:27 +01:00
Fix UTC use in sandbox/update-version.
This commit is contained in:
parent
eb1e04701d
commit
957311ed2b
@ -1,5 +1,5 @@
|
||||
#!/usr/bin/env bash
|
||||
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
|
||||
# vim: set ft=sh: syntax:
|
||||
|
@ -1,3 +1,3 @@
|
||||
"""stick the various versioning attributes in here, so we only have to change
|
||||
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)'
|
||||
|
Loading…
Reference in New Issue
Block a user