Skip to content

Commit

Permalink
fix: revert release_name auto extraction
Browse files Browse the repository at this point in the history
  • Loading branch information
wangyoucao577 committed Feb 7, 2024
1 parent 5efa231 commit dc224f0
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,7 @@ elif [ ! -z "${INPUT_RELEASE_NAME}" ]; then # prevent upload-asset by tag due to
RELEASE_TAG=""
fi

if [ ! -z "${INPUT_RELEASE_NAME}" ]; then
RELEASE_NAME=${INPUT_RELEASE_NAME}
else
RELEASE_NAME=$(jq -r '.release.name' ${GITHUB_EVENT_PATH})
fi
RELEASE_NAME=${INPUT_RELEASE_NAME}

RELEASE_ASSET_NAME=${BINARY_NAME}-${RELEASE_TAG}-${INPUT_GOOS}-${INPUT_GOARCH}
if [ ! -z "${INPUT_GOAMD64}" ]; then
Expand Down

0 comments on commit dc224f0

Please sign in to comment.