Skip to content

Commit

Permalink
release: push tag after creating it
Browse files Browse the repository at this point in the history
Signed-off-by: Ivan Valdes <[email protected]>
  • Loading branch information
ivanvc committed Sep 13, 2024
1 parent c123b3e commit 5900df1
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions scripts/release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,12 @@ main() {
exit 1
fi
git tag --local-user "${KEYID}" --sign "${RELEASE_VERSION}" --message "${RELEASE_VERSION}"

if [ "$DRY_RUN" != "true" ]; then
read -p "Push tag ${RELEASE_VERSION} to github.com/etcd-io/etcd [y/N]? " -r confirm
[[ "${confirm,,}" == "y" ]] || exit 1
git push origin "${RELEASE_VERSION}"
fi
fi

# Verify the latest commit has the version tag
Expand Down

0 comments on commit 5900df1

Please sign in to comment.