diff --git a/forgejo-release.sh b/forgejo-release.sh index 22bdbab..6675aee 100755 --- a/forgejo-release.sh +++ b/forgejo-release.sh @@ -84,7 +84,7 @@ upload_release() { # It is expanded using "${assets[@]}" which preserves the separation of arguments and not split whitespace containing values. # For reference, see https://github.com/koalaman/shellcheck/wiki/SC2086#exceptions local assets=() - if ! "$SKIP_ASSETS"; then + if [ "$SKIP_ASSETS" == 'false' ]; then for file in "$RELEASE_DIR"/*; do assets=("${assets[@]}" -a "$file") done