Add shell script to automatically changes the version number.
This commit is contained in:
parent
463dd443d8
commit
5cdfc2f4b2
1 changed files with 11 additions and 0 deletions
11
bump-version
Executable file
11
bump-version
Executable file
|
@ -0,0 +1,11 @@
|
||||||
|
#!/bin/sh
|
||||||
|
usage() {
|
||||||
|
echo "usage: bump-version <version-id>"
|
||||||
|
}
|
||||||
|
|
||||||
|
if [ $# -ne 1 ]; then
|
||||||
|
usage
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
|
echo "GITFLOW_VERSION=$1" > gitflow-version
|
Loading…
Reference in a new issue