Skip to content
Snippets Groups Projects
Unverified Commit a6783cfb authored by boklm's avatar boklm
Browse files

Bug 40414: Add download-unsigned-sha256sums-gpg-signatures-from-people-tpo script

parent b7549fe6
No related branches found
No related tags found
1 merge request!437Bug 40414: Signing scripts improvements
#!/bin/bash
set -e
script_dir=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )
source "$script_dir/functions"
for builder in $tb_builders
do
for file in sha256sums-unsigned-build.txt.asc sha256sums-unsigned-build.incrementals.txt.asc
do
tmpfile=$(mktemp)
chmod 644 "$tmpfile"
wget -q -O "$tmpfile" "https://people.torproject.org/~$builder/builds/$tbb_version-build$tbb_version_build/$file" || \
wget -q -O "$tmpfile" "https://people.torproject.org/~$builder/builds/tor-browser/$tbb_version-build$tbb_version_build/$file" && \
mv "$tmpfile" "$signed_version_dir/$file-$builder" && echo "Added $file-$builder"
done
done
......@@ -13,3 +13,5 @@ faketime_path=/usr/lib/x86_64-linux-gnu/faketime/libfaketime.so.1
echo "${BASH_ARGV0:-}" | grep -q '\.dry-run$' && DRY_RUN='--dry-run'
test -z "${NON_INTERACTIVE:-}" || rsync_progress="--progress"
rsync_options="-avH ${rsync_progress:-} ${DRY_RUN:-}"
tb_builders='aguestuser boklm gk pierov richard sysrqb'
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment