Debian Codegraph @

Releasing-Dancer2.md

raw
1 # Releasing Dancer2
2
3 This document is an overview of the process we go through when putting
4 together a new release of Dancer2. This is a guide, not a bible - we
5 don't follow this religiously - but it is better to do more of what's in
6 here than less.
7
8 ## Ongoing
9
10 For all PRs and branches merged:
11 - Make sure all tests pass on the branch to be merged.
12 - Make sure Changes is updated. Include the GitHub issue or PR # in the
13 changelog entry.
14 - Make sure the author is reflected in the Contributors section of
15 Dancer2.pm
16 - `git merge --no-ff <branch-name> && git push`
17
18 ## One week before release
19
20 Notify the Core Team that a release is going out. Do this via the
21 dancer-dev mailing list and Twist. If anyone has something to be merged,
22 now is the time to bring it up. If the release needs to be delayed in
23 order for someone to get a change into a release, this is the time to
24 pump the brakes.
25
26 ## Day of Release
27
28 ### Pull the latest code from main
29
30 Don't be That Person. Make sure everything you have is current.
31
32 ### Ensure all changes are merged
33
34 Each release should have a milestone in GitHub. Make sure all issues and
35 PRs in the milestone are closed. If an issue or PR needs to move to a
36 later release, do that now.
37
38 ### Update the version in `dist.ini`
39
40 We use [Semantic Versioning](https://semver.org/) for all Dancer2
41 releases.
42
43 ### Do the release!
44
45 Run `dzil release --all`. This will:
46
47 - Run the test suite, including the author tests
48 - Build a tarball for upload to PAUSE
49 - Upload the new version to PAUSE
50 - Commit `Dancer2.pm` and the new `README` file to the repo (after
51 which, you need to `git push`)
52
53 After this, you must `git push` to push the updated release files to
54 GitHub.
55
56 The test suite *must* pass before a release can be done. This is your
57 last chance to resolve any test failures.
58
59 Provided the tests pass, you will be prompted to continue the release
60 process. Provided you have your PAUSE credentials set up, this will
61 upload the new dist to PAUSE. If you don't have a credential file set
62 up, you can manually update the new release via the PAUSE web interface.
63
64 ### Send out release announcements
65
66 Historically, release announcements have been sent out via the following
67 channels:
68
69 - dancer-users mailing list
70 - Twitter/X
71 - blogs.perl.org
72
73 Going forward, we intend to also send out announcements via:
74
75 - LinkedIn
76 - Perl Community group on Facebook
77 - dev.to
78 - Medium
79
80 Reshare from any accounts you have. Blog about it.
81
82 ## After the Release
83
84 Watch for bug reports, praise, criticism, and respond appropriately.
85