Commit 0b3d31c2 authored by Tails developers's avatar Tails developers Committed by Tails developers

Compute hashes after creating package lists and deleting timestamps.

Otherwise, the .binpkgs and .srcpkgs files are not included in the checksum
file, while the .{start,end}.timestamp are although we delete them.
parent ec64665c
......@@ -125,10 +125,6 @@ as_root_do lb build
if [ -n "$JENKINS_URL" ]; then
ISO=$(ls *.iso)
for file in tails-*; do
sha512sum "$file" >> "$ISO.shasum"
done
gpg --batch --detach-sign --armor "$ISO.shasum"
USER_ON_ACNG_HOST=jenkins
ACNG_HOST=apt-proxy.lizard
......@@ -142,6 +138,11 @@ if [ -n "$JENKINS_URL" ]; then
"$START_TIME" "$END_TIME" \
"${ISO}.binpkgs" "${ISO}.srcpkgs"
rm "$ISO".*.timestamp
for file in tails-*; do
sha512sum "$file" >> "$ISO.shasum"
done
gpg --batch --detach-sign --armor "$ISO.shasum"
fi
mv -f tails-* "$ARTIFACTS_DIR"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment