diff --git a/scripts/release.sh b/scripts/release.sh index 64459abe..a57921e2 100755 --- a/scripts/release.sh +++ b/scripts/release.sh @@ -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