From f9c97e62a5e44a4338d178c17f9575961c08e206 Mon Sep 17 00:00:00 2001 From: Thomas Guillod Date: Fri, 13 Dec 2024 17:17:20 -0500 Subject: [PATCH] fix tag creation --- scripts/run_release.sh | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/scripts/run_release.sh b/scripts/run_release.sh index 43bfb9d5..af4b7865 100755 --- a/scripts/run_release.sh +++ b/scripts/run_release.sh @@ -79,23 +79,23 @@ function check_release { } function build_test { - # create a tag - git tag -a $VER -m "$MSG" > /dev/null - # init status ret=0 + # create a temporary tag + git tag -a $VER -m "$MSG" > /dev/null + # check build ./scripts/run_build.sh ret=$(( ret || $? )) + # remove the temporary tag + git tag -d $VER > /dev/null + # check tests ./scripts/run_tests.sh ret=$(( ret || $? )) - # clean the tag - git tag -d $VER > /dev/null - # abort in case of failure if [[ $ret != 0 ]] then