5
0
Fork 0
mirror of https://code.forgejo.org/actions/forgejo-release synced 2025-11-07 10:56:55 +00:00

Clarify purpose of array for accumulation of assets

This commit is contained in:
Felix Kröner 2024-12-05 08:17:31 +01:00
parent 44fea6428c
commit b035423bc4

View file

@ -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