mirror of
https://code.forgejo.org/actions/forgejo-release.git
synced 2025-04-25 02:12:14 +00:00
Clarify purpose of array for accumulation of assets
This commit is contained in:
parent
44fea6428c
commit
b035423bc4
1 changed files with 1 additions and 1 deletions
|
@ -43,7 +43,7 @@ ensure_tag() {
|
|||
}
|
||||
|
||||
upload_release() {
|
||||
local assets=()
|
||||
local assets=() # Array over string to resolve SC2086, see https://github.com/koalaman/shellcheck/wiki/SC2086#exceptions
|
||||
for file in "$RELEASE_DIR"/*; do
|
||||
assets=("${assets[@]}" -a "$file")
|
||||
done
|
||||
|
|
Loading…
Add table
Reference in a new issue