Skip to content

Commit

Permalink
fix tag creation
Browse files Browse the repository at this point in the history
  • Loading branch information
otvam committed Dec 13, 2024
1 parent a1dafd2 commit f9c97e6
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions scripts/run_release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit f9c97e6

Please sign in to comment.