mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-18 08:29:27 +01:00
6 lines
232 B
Bash
Executable File
6 lines
232 B
Bash
Executable File
#!/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:
|