From 07316457a0aba581b457530cd043d8197d333525 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Sun, 23 Jun 2024 17:06:01 +0200 Subject: sign-and-upload-all: only upload and add packages, that are new --- sign-and-upload-all | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'sign-and-upload-all') 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' ' ' ) -- cgit v1.2.3-70-g09d2