Commit b51b09f4 authored by anonym's avatar anonym
Browse files

Automate generation of DAVE's IDF file.

Will-fix: #10510
parent bf944129
......@@ -638,6 +638,29 @@ Prepare upgrade-description files
one by default, this will allow you to more easily test the IUK
without impacting anyone.
Prepare the ISO description file for DAVE
Update the ISO description file (IDF) used by the browser extension:
ISO_SHA256SUM="$(sha256sum "${ISO_PATH}" | cut -f 1 -d ' ' | tr -d '\n')"
ISO_SIZE_IN_BYTES="$(stat -c %s "${ISO_PATH}")"
cat > "$RELEASE_CHECKOUT"/wiki/src/install/v1/Tails/i386/stable/latest.yml <<EOF
build-target: i386
channel: stable
product-name: Tails
version: '${VERSION}'
- sha256: ${ISO_SHA256SUM}
( cd "${RELEASE_CHECKOUT}" && \
git add wiki/src/install/v1/Tails/i386/stable/latest.yml && \
git commit -m "Update IDF file for DAVE." )
Upload images
......@@ -756,9 +779,8 @@ previous release (including any RC).
Generate the SHA-256 hash of every image
to be released in `inc/*`:
sha256sum $ISOS/tails-i386-$VERSION/tails-i386-$VERSION.iso | \
cut -f 1 -d ' ' | tr -d '\n' \
> "$RELEASE_CHECKOUT/wiki/src/inc/stable_i386_hash.html"
echo "${ISO_SHA256SUM}" > \
Update the size of the ISO image in `inc/*`:
......@@ -771,8 +793,7 @@ Update the size of the ISO image in `inc/*`:
Generate the expected signature verification output:
gpg --keyid-format long --verify "${TAILS_ISO}.sig" "${TAILS_ISO}" 2>&1 | \
gpg --keyid-format long --verify "${ISO_PATH}.sig" "${ISO_PATH}" 2>&1 | \
sed 's/ /\&nbsp;/g;s/</\&lt;/;s/>/\&gt;/;s/$/<br\/>/g' > \
......@@ -821,8 +842,7 @@ Skip this part if preparing a final release.
Copy the `.iso.sig` file into the website repository:
cp "$ISOS/tails-i386-$VERSION/tails-i386-$VERSION.iso.sig" \
cp "${ISO_PATH}.sig" "${MASTER_CHECKOUT}/wiki/src/torrents/files/"
Write the announcement for the release in
`$MASTER_CHECKOUT/wiki/src/news/test_$TAG.mdwn`, including:
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