mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-12-19 00:22:50 +01:00
Fix previous merge.
This commit is contained in:
parent
f6374ed88e
commit
eb1e04701d
@ -1,8 +1,5 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
export TZ="/usr/share/zoneinfo/UTC" # Set timezone as UTC for version timestamps to be in UTC.
|
|
||||||
echo "Updating version..."
|
echo "Updating version..."
|
||||||
perl -pi -e "s/^version\s*=\s*['\"]([\S]+)[ '\"].*/version = '\1 ($( date -Iseconds ))'/" src/version.py
|
TZ="/usr/share/zoneinfo/UTC" perl -pi -e "s/^version\s*=\s*['\"]([\S]+)[ '\"].*/version = '\1 ($( date -Iseconds ))'/" src/version.py
|
||||||
unset TZ # Return to the system timezone.
|
|
||||||
exec $SHELL # Execute the current shell to return to user timezone if specified in config of shell.
|
|
||||||
git add src/version.py
|
git add src/version.py
|
||||||
# vim: set ft=sh: syntax:
|
# vim: set ft=sh: syntax:
|
||||||
|
Loading…
Reference in New Issue
Block a user