Limnoria/sandbox/update-version
2012-01-05 19:52:57 +01:00

6 lines
232 B
Bash
Executable File

#!/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
git add src/version.py
# vim: set ft=sh: syntax: