Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Revert "test: empty github ref"
Browse files Browse the repository at this point in the history
This reverts commit 2078183.
wangyoucao577 authored Jan 28, 2024
1 parent 2078183 commit 61b3267
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion release.sh
Original file line number Diff line number Diff line change
@@ -5,7 +5,7 @@ BINARY_NAME=$(basename ${GITHUB_REPOSITORY})
if [ x${INPUT_BINARY_NAME} != x ]; then
BINARY_NAME=${INPUT_BINARY_NAME}
fi
if [ -z "${GITHUB_REF}" ]; then
if [ ! -z "${GITHUB_REF}" ]; then
RELEASE_TAG=$(basename ${GITHUB_REF})
else
# workaround if `GITHUB_REF` is empty, see more in https://github.com/wangyoucao577/go-release-action/issues/108

0 comments on commit 61b3267

Please sign in to comment.