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

5 lines
168 B
Plaintext
Raw Normal View History

#!/bin/bash
echo "Updating version..."
perl -pi -e "s/^version\s*=\s*['\"]([\S]+)[ '\"].*/version = '\1 ($( date -Iseconds ))'/" src/version.py
git add src/version.py