aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xci-merge2
1 files changed, 1 insertions, 1 deletions
diff --git a/ci-merge b/ci-merge
index ef9e227..ef85c0a 100755
--- a/ci-merge
+++ b/ci-merge
@@ -588,7 +588,7 @@ git branch | grep -q "$INTEG_BRANCH$"
if [ $? -eq 0 ]; then
echo "The integration branch already exists."
- INTEG_BRANCH_NEW_NAME=$INTEG_BRANCH-$(date +%Y%m%d-%H%M%S)-$(git log --format="%h" -n 1)
+ INTEG_BRANCH_NEW_NAME=$INTEG_BRANCH-$(date +%Y%m%d-%H%M%S)-$(git describe)
echo "Rename it to $INTEG_BRANCH_NEW_NAME"
git branch -M $INTEG_BRANCH $INTEG_BRANCH_NEW_NAME