Skip to content

Commit

Permalink
build: add tag with v for rc release (datreeio#673)
Browse files Browse the repository at this point in the history
Co-authored-by: TzlilSwimmer123 <51244810+TzlilSwimmer123@users.noreply.github.com>
  • Loading branch information
dimabru and TzlilSwimmer123 authored Jun 12, 2022
1 parent 26b6f34 commit 1f3922d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions scripts/deploy_release_candidate.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,13 @@ 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

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

curl -sL https://git.io/goreleaser | GORELEASER_CURRENT_TAG=$DATREE_BUILD_VERSION GO_BUILD_TAG=staging VERSION=v$GORELEASER_VERSION bash
Expand Down

0 comments on commit 1f3922d

Please sign in to comment.