1
- # Ansible Release Process
1
+ # How to release a new version of the Ansible Community Package — Manual Release Process
2
2
3
3
## Preamble
4
4
5
- This document describes the ansible community package release process.
5
+ This document describes the "manual" ansible community package release process.
6
+ There exists an [ automated version of this process] ( automated-process.md ) using
7
+ GitHub Actions.
6
8
7
9
!!! note
8
10
Throughout this page, placeholder values in code blocks are formatted as
@@ -92,9 +94,10 @@ This only needs to be done once.
92
94
93
95
!!! note
94
96
When building ansible versions greater than 9.0.0a1,
95
- `Validate tags file` task failures will fail the release playbook instead
96
- of warning and moving on.
97
- See [policies.md][tagging-enforcement] for how to proceed if this step fails.
97
+ `Validate tags file` task failures will fail the release playbook
98
+ instead of warning and moving on.
99
+ See [policies.md][tagging-enforcement] for how to proceed if this step
100
+ fails.
98
101
99
102
4. Commit the changes and push them to your fork.
100
103
@@ -110,9 +113,9 @@ This only needs to be done once.
110
113
111
114
Then, submit a pull request against ansible-build-data upstream.
112
115
113
- 5. Submit a PR to ansible/ansible-documentation to add the new porting guide to the docsite.
114
- Copy the porting guide to the ansible docsite directory
115
- in your ansible checkout with the following command
116
+ 5. Submit a PR to ansible/ansible-documentation to add the new porting guide to
117
+ the docsite. Copy the porting guide to the ansible docsite directory in your
118
+ ansible checkout with the following command
116
119
117
120
```
118
121
cp ${MAJOR_VERSION}/porting_guide_${MAJOR_VERSION}.rst ../ansible-documentation/docs/docsite/rst/porting_guides/
@@ -141,12 +144,12 @@ This only needs to be done once.
141
144
git push --follow-tags
142
145
```
143
146
144
- 8. Announce the release on Matrix and the mailing list.
145
- TODO: Move announcement templates into this repository.
146
- Release managers can copy and paste the previous release's announcement for
147
- now.
148
- Make sure to change the version numbers and sha256sum in the announcement
149
- text.
147
+ 8. Announce the release on the Forum, Matrix, and the mailing list by running
148
+ the following command in the `${MAJOR_VERSION}` directory of the
149
+ `ansible-build-data` checkout:
150
+ ```
151
+ antsibull-build announcements --send --data-dir . ${VERSION}
152
+ ```
150
153
151
154
[container]: https://hub.docker.com/_/python
152
155
[abd-fork]: https://github.com/ansible-community/ansible-build-data/fork
0 commit comments