Skip to content

Development

Jonas Brømsø edited this page Apr 22, 2020 · 4 revisions

Preparing to Release

Since we want uniform version numbers across the components included in the distribution, I always exchange the previous release version number for the upcoming, like so:

$ find lib -name "*.pm" | xargs perl -pi -e "s/1\.20/1\.21/g"

⚠️ Do be careful if version numbers are used else where, like in the ACKNOWLEDGEMENTS section or similar.

The same recipe can be used for copyright year:

$ find lib -name "*.pm" | xargs perl -pi -e "s/\-2019/\-2020/g"

Make than an annual celebration 🎉

Tips

The test suite is quite noisy, so it is often easier to inspect it after the test run has completed.

You can accomplish this by redirecting all output into a file and then using your favorite pages.

$ dzil test >run.txt 2>&1
$ less run.txt

If you just want to see the output of the test run, not the diagnostics

$ dzil test --verbose 2>/dev/null
Clone this wiki locally