Update version tag : 0.8.0
This commit is contained in:
parent
713907d569
commit
701d6519a3
21
createTag.sh
Executable file
21
createTag.sh
Executable file
@ -0,0 +1,21 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
usage()
|
||||||
|
{
|
||||||
|
echo -e "$0 [TAG]"
|
||||||
|
echo -e "\t\t[TAG] : Tag to set on the version"
|
||||||
|
exit -1
|
||||||
|
}
|
||||||
|
|
||||||
|
#verify all input parameters :
|
||||||
|
tag=""
|
||||||
|
if [ "$1" = "" ] ; then
|
||||||
|
usage
|
||||||
|
else
|
||||||
|
tag="$1"
|
||||||
|
fi
|
||||||
|
|
||||||
|
echo -n $tag > tag
|
||||||
|
|
||||||
|
git commit -a -m "Update version tag : $tag"
|
||||||
|
git tag $tag
|
Loading…
x
Reference in New Issue
Block a user