-
Notifications
You must be signed in to change notification settings - Fork 2
/
CHECKLIST
66 lines (48 loc) · 1.42 KB
/
CHECKLIST
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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
# Self note for maintainer
# Perform these checks while releasing a version
% git status
- on master
- no extra files
% prove -I lib t
- no warnings
% perl Makefile.PL
% cover -t
- must exceed 80%
% rm MANIFEST
% make manifest
% grep nocommit MANIFEST
- must be empty
# EXPERIMANTAL ReleaseVersion.PL may be used instead of the above
# smoke-test
% plackup example/run-all.pl
OR
% twiggy example/run-all.pl
- http://localhost:5000/
- click on ALL examples
- check that no errors show up in log
# got here - commit!
MINOR
% VERSION=`perl -wne '/^our *\\$VERSION *= *(\d.\d{0,4})\d*;$/ or next; print $1+0.0001; last' lib/MVC/Neaf.pm`
% echo $VERSION
- must be x.yyzz
MAJOR
% VERSION=`perl -wne '/^our *\\$VERSION *= *(\d.\d\d)\d*;$/ or next; print $1+0.01; last' lib/MVC/Neaf.pm`
% echo $VERSION
- must be x.yy
# version-bump
% find lib/ -name \*.pm | xargs perl -w -i -p -e 's/^our \$VERSION *=.*;/our \$VERSION = '"$VERSION"';/'
% grep -rL 'our *$VERSION *=' lib/
- must be empty
% git diff
- must ONLY contain version bump
% vim -p Changes TODO README.md
- :r !git log --oneline | fgrep -B1000 -m1 '^_^' | sed 's/^[a-z0-9]*/ -/'
- todo: remove completed, add new, sort by target version
- readme: catch up with features
% perl Makefile.PL
% make dist
% git commit -a -m "^_^ Version $VERSION released NOCODE"
% git tag "v.$VERSION" -m "Version $VERSION released"
% git push && git push --tags
- upload to CPAN
# ALL FOLKS