Richard Pospesel pushed to branch maint-12.0 at The Tor Project / Applications / tor-browser-build
Commits: 851a5e7c by Nicolas Vigier at 2023-02-15T18:41:27+00:00 Bug 40782: Fetch signatures from tb-build-04 and tb-build-05
- - - - -
1 changed file:
- tools/signing/download-unsigned-sha256sums-gpg-signatures-from-people-tpo
Changes:
===================================== tools/signing/download-unsigned-sha256sums-gpg-signatures-from-people-tpo ===================================== @@ -9,10 +9,18 @@ do do tmpfile=$(mktemp) chmod 644 "$tmpfile" - wget -q -O "$tmpfile" "https://people.torproject.org/~$builder/builds/$tbb_version-build$tbb_versio..." || \ - wget -q -O "$tmpfile" "https://people.torproject.org/~$builder/builds/tor-browser/$tbb_version-buil..." || \ - wget -q -O "$tmpfile" "https://tb-build-03.torproject.org/~$builder/builds/tor-browser/$tbb_version..." && \ - mv "$tmpfile" "$signed_version_dir/$file-$builder" && echo "Added $file-$builder" + for url in \ + "https://people.torproject.org/~$builder/builds/$tbb_version-build$tbb_versio..." \ + "https://people.torproject.org/~$builder/builds/tor-browser/$tbb_version-buil..." \ + "https://tb-build-04.torproject.org/~$builder/builds/$tbb_version_type/unsign..." \ + "https://tb-build-05.torproject.org/~$builder/builds/$tbb_version_type/unsign..." + do + if wget -q -O "$tmpfile" "$url"; then + mv "$tmpfile" "$signed_version_dir/$file-$builder" + echo "Added $file-$builder" + break + fi + done done done exit 0
View it on GitLab: https://gitlab.torproject.org/tpo/applications/tor-browser-build/-/commit/85...