Skip to content
Snippets Groups Projects
Commit a55ca3b6 authored by anonym's avatar anonym
Browse files

Only mark version as "released" when building the final ISO image.

Otherwise we'll try to use the tagged APT snapshot before it exists
for the "almost-final image" which will fail.
parent d1e70017
Branches
Tags
No related merge requests found
......@@ -56,8 +56,8 @@ export DEBEMAIL="${AMNESIA_DEV_EMAIL}"
echo "Updating debian/changelog from Git history..."
gbp dch \
`if [ ${SNAPSHOT} = yes ]; then echo '--snapshot --auto' ; fi` \
`if [ ${SNAPSHOT} = no -a -n ${SINCE} ]; then echo "--release --since=${SINCE}" ; fi` \
`if [ ${SNAPSHOT} = no -a -z ${SINCE} ]; then echo "--release --auto" ; fi` \
`if [ ${SNAPSHOT} = no -a -n ${SINCE} ]; then echo "--since=${SINCE}" ; fi` \
`if [ ${SNAPSHOT} = no -a -z ${SINCE} ]; then echo "--auto" ; fi` \
--new-version="${NEW_VERSION}" \
--ignore-branch \
-- '*' ':!wiki' \
......
......@@ -492,6 +492,11 @@ Build the final image
Then all included files should be up-to-date and the versioned APT
suite should be ready, so it is time to:
* Mark the version as "released" in the changelog:
dch --release --no-force-save-on-release --maintmaint
git commit -m "Mark Tails ${VERSION} as released." debian/changelog
* tag the release *again*, with all included files in:
git tag -f -u "$TAILS_SIGNATURE_KEY" \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment