Skip to content

Commit

Permalink
test: empty github ref
Browse files Browse the repository at this point in the history
  • Loading branch information
wangyoucao577 committed Jan 28, 2024
1 parent e4459fd commit 2078183
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion release.sh
Expand Up @@ -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
Expand Down

0 comments on commit 2078183

Please sign in to comment.