summaryrefslogtreecommitdiff
path: root/HOWTO.release
blob: bd4c7dbdb440665d1e035538ac647931af146772 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# How to release libconfig-model-dpkg-perl (once you're satisfied by your
# modifications) :

# update the version number in lib/Config/Model/Dpkg.pm:
perl -pi -e 's/([\.\d]+)/$1+0.001/e if /^our/' lib/Config/Model/Dpkg.pm

# release the debian package as usual:
git-dch -Ra
git commit debian/changelog
git-buildpackage

# generate the model doc for CPAN:
cme gen-class-pod

# create package:
perl Build.PL
./Build manifest

./Build dist
cpan-upload Config-Model*

# optionaly, clean up the git repo
git clean -df