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: