minil test - run test cases
minil dist - make your dist tarball
minil install - install your dist
minil release - release your dist to CPAN
Note: Replace '1.10' in the examples below with the current version.
-
Switch to develop branch and update it with latest commits
-
Start release branch
Set the connver to the new version number:
connver=1.10
git flow release start $connver develop
- Merge in any remote work (optional)
git remote update
git merge <remote-branch>
- Run unit tests
minil test
- Bump version number in lib/Connector.pm
perl -i -pe "s{our \\\$VERSION = .+}{our \\\$VERSION = '$connver';};" \
lib/Connector.pm
minil dist
git add lib/Connector.pm META.json
git commit -m "bump version to $connver"
- Make any last-minute fixes and re-test
minil test
- Finalize release (write the version number in the TAG_MSG)
git flow release finish -m "$connver" "$connver"
git push origin develop master "$connver"
- Build tarball
minil dist
- Upload tarball to https://pause.perl.org
minil release
curl -L http://install.perlbrew.pl | bash
echo "source $HOME/perl5/perlbrew/etc/bashrc" >> $HOME/.bashrc
source $HOME/perl5/perlbrew/etc/bashrc
perlbrew available
# Note: Adjust perl version based on results from 'perlbrew available'
perlbrew install perl-5.19.5
perlbrew switch perl-5.19.5
perlbrew install-cpanm
cpanm Module::Install
cpanm --installdeps --notest .
perlbrew install perl-5.32.0
perlbrew use perl-5.32.0
cpanm Module::Install
cpanm --installdeps --notest .