Skip to content
Snippets Groups Projects
Commit 4b0f212d authored by intrigeri's avatar intrigeri
Browse files

Release process: refresh & automate a bit more.

parent 9de87f42
No related branches found
No related tags found
No related merge requests found
...@@ -2,17 +2,25 @@ Upstream ...@@ -2,17 +2,25 @@ Upstream
======== ========
* update version in `configure.in` * update version in `configure.in`
* update first line of `ChangeLog` * update first line of `ChangeLog`
* commit
* commit:
git commit configure.in ChangeLog \
-m "Releasing backupninja $VERSION"
* create the tarball: * create the tarball:
git tag -s backupninja-$VERSION git tag -s "backupninja-$VERSION" \
-m "Releasing backupninja $VERSION"
./autogen.sh ./autogen.sh
./configure ./configure
make dist make dist
* compare the content of the generated tarball with the content of the * compare the content of the generated tarball with the content of the
previous one previous one
* `mv backupninja-$VERSION.tar.gz ../tarballs/` * `mv backupninja-$VERSION.tar.gz ../tarballs/`
* cleanup: `make distclean` * cleanup: `make distclean`
...@@ -24,7 +32,11 @@ Upstream ...@@ -24,7 +32,11 @@ Upstream
* upload the generated tarball and detached signature to * upload the generated tarball and detached signature to
https://0xacab.org/riseuplabs/backupninja/ https://0xacab.org/riseuplabs/backupninja/
* push master branch and tags
* push master branch and tags:
git push origin master --follow-tags
* announce on the backupninja mailing-list * announce on the backupninja mailing-list
Debian Debian
...@@ -32,17 +44,16 @@ Debian ...@@ -32,17 +44,16 @@ Debian
ln -s backupninja-$VERSION.tar.gz backupninja_$VERSION.orig.tar.gz ln -s backupninja-$VERSION.tar.gz backupninja_$VERSION.orig.tar.gz
cd ../git cd ../git
git checkout upstream
git merge backupninja-$VERSION
git checkout debian git checkout debian
git-import-orig ../tarballs/backupninja-$VERSION.tar.gz gbp import-orig --upstream-vcs-tag="backupninja-$VERSION" \
git-dch --auto ../tarballs/backupninja-$VERSION.tar.gz
gbp dch --auto
dch -e dch -e
git commit debian/changelog -m "Releasing backupninja ($DEBIAN_VERSION) to Debian unstable" git commit debian/changelog -m "Releasing backupninja ($DEBIAN_VERSION) to Debian unstable"
git tag -s -m "Releasing backupninja ($DEBIAN_VERSION) to Debian unstable" backupninja_debian/$DEBIAN_VERSION git tag -s -m "Releasing backupninja ($DEBIAN_VERSION) to Debian unstable" backupninja_debian/$DEBIAN_VERSION
git-buildpackage gbp buildpackage
* push the debian branch * push the `debian` branch
* publish the source package somewhere * publish the source package somewhere
* ask someone listed in the @Uploaders@ control field to review and upload * ask someone listed in the `Uploaders` control field to review and upload
* push the tag, once uploaded to Debian * push the tag, once uploaded to Debian
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment