mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-15 07:04:53 +01:00
26e9671003
On some systems, bash is in some different folder than /bin. It works with more systems to use /usr/bin/env bash.
5 lines
176 B
Bash
Executable File
5 lines
176 B
Bash
Executable File
#!/usr/bin/env bash
|
|
echo "Updating version..."
|
|
perl -pi -e "s/^version\s*=\s*['\"]([\S]+)[ '\"].*/version = '\1 ($( date -Iseconds ))'/" src/version.py
|
|
git add src/version.py
|