summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFredrik Aslund <fredrik.aslund@umu.se>2014-09-30 13:28:48 +0200
committerFredrik Aslund <fredrik.aslund@umu.se>2014-09-30 13:28:48 +0200
commitc17a5a1a7671e89121778d74776f870a9ea0e9b0 (patch)
treea39ae441be7ee0945e172aad1a48bb4b057e058c
parente8068c2757ac625b2fb55f1725f02618d7bc8705 (diff)
run git pull before any tag operation, if not pulled later push will fail anyway
-rwxr-xr-xbump-tag2
1 files changed, 2 insertions, 0 deletions
diff --git a/bump-tag b/bump-tag
index 5d91b82..b163569 100755
--- a/bump-tag
+++ b/bump-tag
@@ -4,6 +4,8 @@ set -e
test -f cosmos.conf && . ./cosmos.conf
+git pull
+
deftag=`basename $PWD`
tagpfx=${tag:="$deftag"}