6 mkdir
-p "${ISOS:?}/tails-amd64-${VERSION:?}"
7 for type in iso img
; do
8 cd "${ISOS:?}/tails-amd64-${VERSION:?}"
9 mv "${ARTIFACTS:?}/tails-amd64-${VERSION:?}.${type:?}" .
10 gpg
--armor --default-key "${TAILS_SIGNATURE_KEY:?}" \
11 --detach-sign -- *".${type:?}"
12 rename
's,\.asc$,.sig,' -- *.asc
14 mkdir
-p "${tmp:?}/tails-amd64-${VERSION:?}-${type:?}"
15 cd "${tmp:?}/tails-amd64-${VERSION:?}-${type:?}"
16 # shellcheck disable=SC2231
17 for x
in "${ISOS:?}/tails-amd64-${VERSION:?}"/*.${type:?}*; do
21 -o "${ISOS:?}/tails-amd64-${VERSION:?}.${type:?}.torrent
" \
22 -a 'udp://tracker.torrent.eu.org:451' \
23 -a 'udp://tracker.coppersurfer.tk:6969' \
24 "${tmp:?}/tails-amd64-${VERSION:?}-${type:?}"
25 transmission-show "${ISOS:?}/tails-amd64-${VERSION:?}.${type:?}.torrent
"
29 mv "${ARTIFACTS:?}/tails-amd64-${VERSION:?}".{apt-sources,build-manifest,buildlog,packages} \
30 "${ISOS:?}/tails-amd64-${VERSION:?}"
31 cd "${RELEASE_CHECKOUT?:}"