Skip to content

Commit

Permalink
Updated action
Browse files Browse the repository at this point in the history
  • Loading branch information
jackton1 committed Sep 19, 2022
1 parent 90206dc commit 95159b5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@ 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" --target "$NEW_TAG"
gh release edit "$MAJOR_VERSION" --notes-file "$INPUTS_RELEASE_NOTES_FILE" --target "$(git rev-parse "$NEW_TAG")"
else
gh release create "$MAJOR_VERSION" --notes-file "$INPUTS_RELEASE_NOTES_FILE" --target "$NEW_TAG"
gh release create "$MAJOR_VERSION" --notes-file "$INPUTS_RELEASE_NOTES_FILE" --target "$(git rev-parse "$NEW_TAG")"
fi
fi

Expand Down

0 comments on commit 95159b5

Please sign in to comment.