[reprotest] 01/03: Update release instructions to be less redundant
Ximin Luo
infinity0 at debian.org
Tue May 9 19:20:49 UTC 2017
This is an automated email from the git hooks/post-receive script.
infinity0 pushed a commit to branch master
in repository reprotest.
commit c0b5d5a9856e81fb173b6ea2cc3855190c4db311
Author: Ximin Luo <infinity0 at debian.org>
Date: Tue May 9 21:02:44 2017 +0200
Update release instructions to be less redundant
---
README.rst | 12 ++++--------
debian/watch | 2 +-
2 files changed, 5 insertions(+), 9 deletions(-)
diff --git a/README.rst b/README.rst
index 964290b..953b2c5 100644
--- a/README.rst
+++ b/README.rst
@@ -229,14 +229,10 @@ Now, finally run the tests:
Releasing
=========
-After releasing, please upload a signed tarball:
+After releasing (with ``gbp buildpackage``), please upload a signed tarball:
::
- $ VERSION=FIXME
-
- $ git archive --format=tar --prefix=reprotest-${VERSION}/ ${VERSION} | bzip2 -9 > reprotest-${VERSION}.tar.bz2
-
- $ gpg --detach-sig --armor --output=reprotest-${VERSION}.tar.bz2.asc < reprotest-${VERSION}.tar.bz2
-
- $ scp reprotest-${VERSION}* alioth.debian.org:/home/groups/reproducible/htdocs/releases/reprotest
+ $ TARBALL=$(dpkg-parsechangelog -SSource)_$(dpkg-parsechangelog -SVersion).tar.xz
+ $ gpg --detach-sign --armor --output=../${TARBALL}.asc < ../${TARBALL}
+ $ scp ../${TARBALL}* alioth.debian.org:/home/groups/reproducible/htdocs/releases/reprotest
diff --git a/debian/watch b/debian/watch
index 0cd4969..c926cea 100644
--- a/debian/watch
+++ b/debian/watch
@@ -1,2 +1,2 @@
version=3
-opts=pgpsigurlmangle=s/$/.asc/ http://reproducible.alioth.debian.org/releases/reprotest/reprotest-(.+).tar.bz2
+opts=pgpsigurlmangle=s/$/.asc/ http://reproducible.alioth.debian.org/releases/reprotest/reprotest[-_](.+).tar.(?:.*)
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/reproducible/reprotest.git
More information about the Reproducible-commits
mailing list