1
0
mirror of https://github.com/Mikaela/Limnoria.git synced 2024-12-22 02:32:42 +01:00
Limnoria/sandbox/update-version

7 lines
217 B
Plaintext
Raw Normal View History

#!/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: