Skip to content

Commit

Permalink
fix(plugins/github-release): improve checking
Browse files Browse the repository at this point in the history
  • Loading branch information
dalisoft committed Mar 4, 2024
1 parent 3cd59ba commit 46bc6c1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/github-release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ release() {
log_verbose "Release body: \n$RELEASE_BODY"

# Create a `GitHub` release
if [[ "${GITHUB_TOKEN-}" != "" ]]; then
if [[ -n "${GITHUB_TOKEN-}" ]]; then
log "Creating GitHub release..."
log_verbose "GitHub release hash: $CHECKOUT_SHA!"

Expand Down

0 comments on commit 46bc6c1

Please sign in to comment.