File: HOWTO.release

package info (click to toggle)
libconfig-model-dpkg-perl 2.122
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 10,852 kB
  • sloc: perl: 6,419; makefile: 63; sh: 1
file content (26 lines) | stat: -rw-r--r-- 648 bytes parent folder | download | duplicates (5)
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
# 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]+)/sprintf("%.3f",$1+0.001)/e if /^our/' lib/Config/Model/Dpkg.pm

# archive the file
git commit -m"Bumped version number" lib/

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

# 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, including ignored files
git clean -dfx