Commit dcb817a7 authored by intrigeri's avatar intrigeri
Browse files

Release process: simplify and automate.

parent c4e7f1fe
......@@ -58,8 +58,7 @@ upstream tarball, update `debian/changelog`:
git checkout debian && \
gbp import-orig --upstream-vcs-tag=Tails-perl5lib_$VERSION \
../Tails-perl5lib-$VERSION.tar.gz && \
gbp dch --auto && \
dch -e
gbp dch --auto --spawn-editor=always
(Do not forget to set the appropriate release.)
......
......@@ -32,13 +32,11 @@ Export new upstream version number:
export VERSION=XXX
Update version number in `bin/tails-persistence-setup`:
perl -pi -E 's,^Version [0-9.]+,Version $ENV{VERSION},' bin/tails-persistence-setup
perl -pi -E "s,^our \\\$VERSION = '[0-9.]+';\$,our \\\$VERSION = '$VERSION';," bin/tails-persistence-setup
Commit all files that need to be:
Update version number in `bin/tails-persistence-setup` and
commit all files that need to be:
perl -pi -E 's,^Version [0-9.]+,Version $ENV{VERSION},' bin/tails-persistence-setup && \
perl -pi -E "s,^our \\\$VERSION = '[0-9.]+';\$,our \\\$VERSION = '$VERSION';," bin/tails-persistence-setup && \
git commit bin/tails-persistence-setup -m "tails-persistent-setup $VERSION"
Optionally, run the upstream test suite (it is run as part of the
......@@ -70,7 +68,7 @@ Checkout the Debian packaging branch and import the new upstream tarball:
Update `debian/changelog`:
gbp dch && dch -e
gbp dch --auto --spawn-editor=always
(Do not forget to set the appropriate release.)
......
......@@ -94,8 +94,7 @@ upstream tarball, update `debian/changelog`:
git checkout debian && \
gbp import-orig --upstream-vcs-tag=$VERSION \
../Tails-IUK-$VERSION.tar.gz && \
gbp dch --auto && \
dch -e
gbp dch --auto --spawn-editor=always
(Do not forget to set the appropriate release.)
......
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