Perform a Dancer2 release using dzil
mainTo release a new version of Dancer2, use the dzil release --all command. This command automates several critical steps, but it requires that the test suite passes completely before proceeding.
The dzil release --all command performs the following:
- Runs the full test suite (including author tests).
- Builds a tarball for upload to PAUSE.
- Uploads the new version to PAUSE (requires PAUSE credentials to be configured).
- Commits the updated
Dancer2.pmand the newREADMEfile to your local repository.
Important Post-Release Step:
After the command completes successfully, you must manually run git push to push the updated release files (the updated Dancer2.pm and README) to GitHub.
dzil release --all
# After success, run:
git push