mirror of
https://github.com/koalaman/shellcheck
synced 2025-08-14 02:27:30 -07:00
Filter GitHub uploads by tag
This commit is contained in:
parent
84d6e53659
commit
a30e42ab05
1 changed files with 1 additions and 0 deletions
|
@ -50,6 +50,7 @@ do
|
|||
for file in deploy/*
|
||||
do
|
||||
[[ $file == *.@(xz|gz|zip) ]] || continue
|
||||
[[ $file == *"$tag"* ]] || continue
|
||||
files+=(-a "$file")
|
||||
done
|
||||
hub release edit "${files[@]}" "$tag" || exit 1
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue