-
Notifications
You must be signed in to change notification settings - Fork 56
/
how_to_release.txt
30 lines (22 loc) · 1 KB
/
how_to_release.txt
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
# version
Update version in lib/AGAT/Omniscient.pm
# test / check
make test to check everything is fine
- make test TEST_FILES=t/scripts_output.t TEST_VERBOSE=1 # check one test file at a time for debugging
# create the distribution (optional)
- make manifest
- make dist
=> test local installation with the dist
=> if everything is fine the dist can be provided as an asset with the github release
# PR and merge in master branch
# create a release
# Docs
To keep the doc sync with the tools we need to generate md file from pod file.
Here some explanation how to do so.
# extract pod
for i in AGAT/bin/*;do name=$(basename $i .pl); perl -MPod::Markdown::Github -e "Pod::Markdown::Github->filter('$i')" > $name.md.full ;done
# remove FEEDBACK info and below
for i in agat_*.full; do name=$(basename $i .full); awk '{if($0 ~ "FEEDBACK" ) exit; print $0}' $i > $name; done
# remove the full pod file now it is useless
rm *.full
# Do not forget to put the md file into docs/tools and update the index.rst accordingly