mirror of
https://code.forgejo.org/actions/forgejo-release.git
synced 2025-04-24 18:02:15 +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() {
|
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
|
for file in "$RELEASE_DIR"/*; do
|
||||||
assets=("${assets[@]}" -a "$file")
|
assets=("${assets[@]}" -a "$file")
|
||||||
done
|
done
|
||||||
|
|
Loading…
Add table
Reference in a new issue