1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32
|
Releasing a new version
=======================
After releasing the upstream tarball (as described in README), you should have
a tarball and a signature file in the current directory. Then do::
$ for i in disorderfs-${VERSION}*; do x=${i/disorderfs-/disorderfs_}; ln -s "$i" "${x/.tar/.orig.tar}"; done
$ mv disorderfs-${VERSION}* disorderfs_${VERSION}* ..
$ pristine-tar commit ../disorderfs_${VERSION}.orig.tar.bz2 master
Now add to our reproducible-lfs git repo:
$ cp -v ../disorderfs-${VERSION}* ../reproducible-lfs/releases/disorderfs/
$ cd ../reproducible-lfs/releases/disorderfs/
$ git add disorderfs-${VERSION}*
$ git commit -s -m "add disorderfs ${VERSION} release"
$ git push
$ cd -
Finally, do the actual Debian release:
$ git checkout debian
$ git merge "${VERSION}"
$ dch -v "${VERSION}-1"
# [.. anything else ..]
$ dch -r
$ git commit -a -m "Release ${VERSION}-1 to Debian unstable."
$ gbp buildpackage --changes-option=-S
$ debsign ../disorderfs_${VERSION}-1_amd64.changes
$ dput ../disorderfs_${VERSION}-1_amd64.changes
$ gbp buildpackage --git-tag-only
$ git push origin debian master pristine-tar --tags
|