From 434a6c5fa7a1c9718cd4a3d8de3ee9b9fd8e55ea Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Fri, 19 Jul 2019 15:36:50 +0200 Subject: build-isos: copy iso and signature early, so update-website gets $last_date right --- build-isos | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/build-isos b/build-isos index ec08c62..384ac7a 100755 --- a/build-isos +++ b/build-isos @@ -55,13 +55,16 @@ case "$(hostname -s)" in sort -k2,2 sha512sums --output sha512sums sort -k2,2 md5sums --output md5sums + cp $( + printf '%s\n' ${isos} + printf '%s.sig\n' ${isos} + ) sha512sums md5sums "${destination}/" + "${base_dir}/al32-mktorrent.sh" -d "${date}" -t "hefur@archlinux32:" mv $( - printf '%s\n' ${isos} - printf '%s.sig\n' ${isos} printf '%s.torrent\n' ${isos} - ) feed_dual.rss feed_i686.rss sha512sums md5sums "${destination}/" + ) feed_dual.rss feed_i686.rss "${destination}/" "${base_dir}/update-website" \ --torrent-seed-i686 "https://pool.mirror.archlinux32.org/archisos/archlinux-${date}-i686.iso.torrent" \ -- cgit v1.2.3-70-g09d2