Skip to content

Commit e87b4c4

Browse files
authored
Merge pull request #598 from dscho/pacman-helper-quick-remove-follow-up
pacman-helper.sh quick_remove: skip uploading package files
2 parents ee3d397 + 8b144d2 commit e87b4c4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pacman-helper.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -551,7 +551,7 @@ quick_action () { # <action> <file>...
551551
sed -n 's/^ "id": *\([0-9]*\).*/\1/p')"
552552
fi ||
553553
die "Could not create a draft release for tag $tagname"
554-
for path in $all_files $dbs
554+
for path in $(test remove = "$label" || echo $all_files) $dbs
555555
do
556556
if test -n "$PACMANDRYRUN"
557557
then
@@ -583,7 +583,7 @@ quick_action () { # <action> <file>...
583583

584584
# Upload the file(s) and the appropriate index(es)
585585
(cd "$dir" &&
586-
for path in $all_files $dbs
586+
for path in $(test remove = "$label" || echo $all_files) $dbs
587587
do
588588
# The Pacman repository on Azure Blobs still uses the old naming scheme
589589
remote_path="$(echo "$path" | sed \

0 commit comments

Comments
 (0)