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 33 34 35 36 37 38 39 40 41 42 43 44 45 46
|
NOTE: most of the steps here refer to Alioth and CPAN, i.e. to the time,
when dh-make-perl was a non-native package (0.66 - 0.90).
Some parts are still of interest.
* run
make orig
this will create ../dh-make-perl_$VERSION.orig.tar.gz and
../DhMakePerl-$VERSION.tar.gz (hardlinked to each other).
* build the package as usual and watch for failing tests
* apply the usual quality checks, e.g. lintian
* make sure Changes is populated for the new release. Good source of changes to
include there is debian/changelog and/or git logs
(assuming debian/changelog is already updated with the list of changes)
* if everything seems ok, run
dch -r
and build again
* upload
- ../dh-make-perl_$VERSION.orig.tar.gz to alioth, naming the release $VERSION
- ../DhMakePerl-$VERSION.tar.gz to PAUSE, e.g. with cpan-upload
* tag
debcommit -a -r
* increase version number
1) manual
git grep $ver
sed -i -e 's/$ver/$ver+1/' file...
git ci -a -m'increment version to $ver+1'
2) example for a one-liner:
git grep 'our $VERSION' | cut -f1 -d: | uniq | xargs perl -pi -e "s{(our.+VERSION) = '0.\d\d\d?';}{\$1 = '0.120';}g"
3) there's a tool:
tools/bump-version-after-release
* push
dpt push
* serve yourself a piece of cake :)
|