Release Process - netdisco/snmp-info GitHub Wiki

1. Introduction

Any time you push code to the repo master branch, GitHub Actions will automatically build and test SNMP::Info and report to IRC if there is a problem. When you push a tag, GitHub Actions will package and release the code to CPAN.

2. Test

Check that the thing compiles and there are no ugly errors. These steps are also run by GitHub Actions on any push to the master branch:

perl Build.PL
PERL_MM_USE_DEFAULT=1 ./Build installdeps --cpan_client 'cpanm --quiet --notest'
./Build test --test_files t/ --test_files xt/

3. Tag Release

â„šī¸
Note the push_ver script which is special to SNMP::Info
â„šī¸
This example uses version X.XXXXXX so replace that (e.g. 3.973000)
./contrib/util/push_ver X.XXXXXX
perl ./Build.PL
rm MANIFEST && ./Build manifest
./Build distmeta
./Build distclean
git commit -a -m 'release X.XXXXXX'
git tag -a -m 'version X.XXXXXX' X.XXXXXX
git push
âš ī¸ **GitHub.com Fallback** âš ī¸