mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-12-27 05:03:07 +01:00
33debcd565
Conflicts: sandbox/update-version src/version.py
7 lines
217 B
Bash
Executable File
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:
|