Commit 1edb6a92 authored by Tails developers's avatar Tails developers
Browse files

Improve release process.

parent 176787c8
......@@ -42,11 +42,11 @@ Tag the release:
Move the tarball out of the build repository:
mv Tails-Persistence-$VERSION.tar.gz ..
mv Tails-Persistence-*.tar.gz ..
Delete the build directory:
rm -r Tails-Perstistence-$VERSION
rm -r Tails-Persistence-*
Update the Debian package
=========================
......@@ -57,7 +57,7 @@ Checkout the branch with Debian package specifics:
Import the new upstream tarball:
git-import-orig ../Tails-Persistence-$VERSION.tar.gz
git-import-orig --upstream-vcs-tag=$VERSION ../Tails-Persistence-$VERSION.tar.gz
Update `debian/changelog`:
......@@ -65,7 +65,9 @@ Update `debian/changelog`:
(Do not forget to set the appropriate release.)
Commit.
Commit `debian/changelog`:
git commit debian/changelog -m "$(head -n 1 debian/changelog | sed -e 's,).*,),')"
Build a Debian package (use a Squeeze/i386 + backports chroot):
......
......@@ -19,11 +19,11 @@ Tag the release:
Move the tarball out of the build repository:
mv Tails-IUK-$VERSION.tar.gz ..
mv *.tar.gz ..
Delete the build directory:
rm -r Tails-IUK-$VERSION
rm -r Tails-IUK-*
Update the Debian package
=========================
......@@ -34,7 +34,7 @@ Checkout the branch with Debian package specifics:
Import the new upstream tarball:
git-import-orig ../Tails-IUK-$VERSION.tar.gz
git-import-orig --upstream-vcs-tag=$VERSION ../Tails-IUK-$VERSION.tar.gz
Update `debian/changelog`, starting with `git-dch` if the last step
did not do it:
......@@ -45,7 +45,7 @@ did not do it:
Commit `debian/changelog`:
git commit debian/changelog
git commit debian/changelog -m "$(head -n 1 debian/changelog | sed -e 's,).*,),')"
Build a Debian package (use a Squeeze chroot with `squeeze-backports`
enabled):
......@@ -56,7 +56,7 @@ If everything is fine, add a signed tag to the repository and push the
changes:
git-buildpackage --git-tag-only --git-sign-tags
git push --tags
git push && git push --tags
Add the Debian package to Tails
===============================
......
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