mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-12-19 00:22:50 +01:00
sandbox/update-version: bash isn't always in /bin.
On some systems, bash is in some different folder than /bin. It works with more systems to use /usr/bin/env bash.
This commit is contained in:
parent
b7b3235ff4
commit
26e9671003
@ -1,4 +1,4 @@
|
|||||||
#!/bin/bash
|
#!/usr/bin/env bash
|
||||||
echo "Updating version..."
|
echo "Updating version..."
|
||||||
perl -pi -e "s/^version\s*=\s*['\"]([\S]+)[ '\"].*/version = '\1 ($( date -Iseconds ))'/" src/version.py
|
perl -pi -e "s/^version\s*=\s*['\"]([\S]+)[ '\"].*/version = '\1 ($( date -Iseconds ))'/" src/version.py
|
||||||
git add src/version.py
|
git add src/version.py
|
||||||
|
Loading…
Reference in New Issue
Block a user