From 701d6519a31d05165ab714b453525dc5b8c077c1 Mon Sep 17 00:00:00 2001 From: Edouard DUPIN Date: Sat, 28 Dec 2013 15:44:24 +0100 Subject: [PATCH] Update version tag : 0.8.0 --- createTag.sh | 21 +++++++++++++++++++++ tag | 1 + 2 files changed, 22 insertions(+) create mode 100755 createTag.sh create mode 100644 tag diff --git a/createTag.sh b/createTag.sh new file mode 100755 index 0000000..13d7df3 --- /dev/null +++ b/createTag.sh @@ -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 diff --git a/tag b/tag new file mode 100644 index 0000000..8adc70f --- /dev/null +++ b/tag @@ -0,0 +1 @@ +0.8.0 \ No newline at end of file