2012-01-05 14:37:36 +01:00
|
|
|
#!/usr/bin/env bash
|
2012-01-06 13:25:08 +01:00
|
|
|
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:
|