summaryrefslogtreecommitdiff
path: root/sign-and-upload-all
diff options
context:
space:
mode:
Diffstat (limited to 'sign-and-upload-all')
-rwxr-xr-xsign-and-upload-all6
1 files changed, 3 insertions, 3 deletions
diff --git a/sign-and-upload-all b/sign-and-upload-all
index 8c4ca39f0..5f97c5ab5 100755
--- a/sign-and-upload-all
+++ b/sign-and-upload-all
@@ -29,13 +29,13 @@ for distro in arch artix; do
|| exit 1
arch="${pkg##*-}"
arch="${arch%%.*}"
- archs["${arch}"]=1
+ archs["${arch}"]="${archs["${arch}"]} ${pkg}"
done
for arch in "${!archs[@]}"; do
- rsync -av --progress --ignore-existing */${distro}/*-${arch}.pkg.tar.zst{,.sig} ${distro}linuxewe@eckner.net:os/${arch}/
+ rsync -av --progress --ignore-existing $(printf '%s\n' ${archs["${arch}"]} | sed 'p;s@$@\,.sig@') ${distro}linuxewe@eckner.net:os/${arch}/
pkgs=$(
- printf '%s\n' */${distro}/*-${arch}.pkg.tar.zst \
+ printf '%s\n' ${archs["${arch}"]} \
| sed 's@^.*/@@' \
| tr '\n' ' '
)