diff options
author | Erich Eckner <git@eckner.net> | 2024-06-23 17:06:01 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2024-06-23 17:06:01 +0200 |
commit | 07316457a0aba581b457530cd043d8197d333525 (patch) | |
tree | 36193d0ccd39f40ab2a0761e59f5dea63b8530df /sign-and-upload-all | |
parent | 337df6213c91aceb02edc574a007c9f0a247f926 (diff) | |
download | archlinuxewe-07316457a0aba581b457530cd043d8197d333525.tar.xz |
sign-and-upload-all: only upload and add packages, that are new
Diffstat (limited to 'sign-and-upload-all')
-rwxr-xr-x | sign-and-upload-all | 6 |
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' ' ' ) |