mirror of
https://code.forgejo.org/actions/forgejo-release.git
synced 2026-02-04 06:48:09 +00:00
fix: use proper comparison
This commit is contained in:
parent
7fdceaa4f8
commit
ecdcd79de6
1 changed files with 1 additions and 1 deletions
|
|
@ -84,7 +84,7 @@ upload_release() {
|
||||||
# It is expanded using "${assets[@]}" which preserves the separation of arguments and not split whitespace containing values.
|
# 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
|
# For reference, see https://github.com/koalaman/shellcheck/wiki/SC2086#exceptions
|
||||||
local assets=()
|
local assets=()
|
||||||
if ! "$SKIP_ASSETS"; then
|
if [ "$SKIP_ASSETS" == 'false' ]; then
|
||||||
for file in "$RELEASE_DIR"/*; do
|
for file in "$RELEASE_DIR"/*; do
|
||||||
assets=("${assets[@]}" -a "$file")
|
assets=("${assets[@]}" -a "$file")
|
||||||
done
|
done
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue