Skip to content

Commit

Permalink
fix: add rc to release candidate tag (datreeio#687)
Browse files Browse the repository at this point in the history
Co-authored-by: teselil <tzlil@datree.com>
  • Loading branch information
TzlilSwimmer123 and teselil authored Jun 15, 2022
1 parent cb6948f commit 280adb0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/deploy_release_candidate.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@ else
nextVersion=$(echo $latestRcTag | awk -F. '{$NF = $NF + 1;} 1' | sed 's/ /./g')
fi

v_release_tag=v$nextVersion

export DATREE_BUILD_VERSION=$nextVersion-rc
echo $DATREE_BUILD_VERSION

v_release_tag=v$DATREE_BUILD_VERSION

git tag $DATREE_BUILD_VERSION -a -m "Generated tag from TravisCI for build $TRAVIS_BUILD_NUMBER"
git tag $v_release_tag -a -m "Generated tag with v from TravisCI for build $TRAVIS_BUILD_NUMBER"
git push --tags
Expand Down

0 comments on commit 280adb0

Please sign in to comment.