From 5036d0b4a2b0e36d5bd46b7694e1622eaea00b39 Mon Sep 17 00:00:00 2001 From: Tonye Jack Date: Sun, 25 Sep 2022 10:47:01 -0600 Subject: [PATCH] chore: add title to release --- entrypoint.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/entrypoint.sh b/entrypoint.sh index 78493ce..ef63208 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -23,12 +23,12 @@ done if [[ -f "$INPUTS_RELEASE_NOTES_FILE" ]]; then if gh release view "$MAJOR_VERSION" > /dev/null 2>&1; then - gh release edit "$MAJOR_VERSION" --notes-file "$INPUTS_RELEASE_NOTES_FILE" + gh release edit "$MAJOR_VERSION" --notes-file "$INPUTS_RELEASE_NOTES_FILE" --title "$MAJOR_VERSION" # Re-tag the major version using the latest tag git tag -f "$MAJOR_VERSION" "$NEW_TAG" git push -f "$INPUTS_REMOTE" "$MAJOR_VERSION" else - gh release create "$MAJOR_VERSION" --notes-file "$INPUTS_RELEASE_NOTES_FILE" + gh release create "$MAJOR_VERSION" --notes-file "$INPUTS_RELEASE_NOTES_FILE" --title "$MAJOR_VERSION" fi fi