summaryrefslogtreecommitdiff
path: root/tcwg-release.sh
diff options
context:
space:
mode:
authorYvan Roux <yvan.roux@linaro.org>2015-09-16 16:51:55 +0200
committerYvan Roux <yvan.roux@linaro.org>2015-09-16 16:52:47 +0200
commited40af187896a683bb612c7766ca44a490d2959f (patch)
tree907e114ace976590bc5f9e41e57624823c0c6b24 /tcwg-release.sh
parentb99b63e4f6c886cfde3d45d472bd6c415b7f7647 (diff)
Fix tag which should be made into $REL_DIR/git repository to apply on
the current branch. Change-Id: I9f67f9e2d6da283640f93b3ebcddd68c4d8cd129
Diffstat (limited to 'tcwg-release.sh')
-rwxr-xr-xtcwg-release.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/tcwg-release.sh b/tcwg-release.sh
index ce485cd..05218e2 100755
--- a/tcwg-release.sh
+++ b/tcwg-release.sh
@@ -438,6 +438,7 @@ EOF
}
tag() {
+ pushd $REL_DIR/git 1>/dev/null
git tag -a ${release_tag} -m "${tagmsg}"
if [ $? != 0 ]; then
clean_and_die "Creation of git tag ${release_tag} failed."
@@ -450,6 +451,7 @@ tag() {
clean
exit 1
fi
+ popd 1>/dev/null
}
info() {