1
0
mirror of https://github.com/Mikaela/Limnoria.git synced 2024-12-23 03:02:52 +01:00
Limnoria/sandbox/update-version
2012-01-06 18:38:24 +01:00

7 lines
217 B
Bash
Executable File

#!/usr/bin/env bash
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: