Skip to content

Commit

Permalink
build: Publish GitHub tag in release script
Browse files Browse the repository at this point in the history
  • Loading branch information
brianluong committed Aug 30, 2022
1 parent f70c93a commit 50fb270
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions scripts/release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,11 @@ make VERSION=$RELEASE_VERSION GIT_COMMIT_HASH=$COMMIT_HASH build-archives
LogStep "Building and pushing the image."
make GIT_COMMIT_HASH=$COMMIT_HASH DOCKER_HUB_REPO=$DOCKER_HUB_REPO VERSION=$RELEASE_VERSION build-and-push-image

GITHUB_TAG="v${RELEASE_VERSION}"
LogStep "Pushing tag: $GITHUB_TAG to GitHub."
git tag $GITHUB_TAG
git push origin $GITHUB_TAG

LogStep "Checking out the original commit."
git checkout $CURRENT_BRANCH

Expand Down

0 comments on commit 50fb270

Please sign in to comment.