You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: MAINTAINERS.md
+16-18Lines changed: 16 additions & 18 deletions
Original file line number
Diff line number
Diff line change
@@ -169,23 +169,15 @@ Some examples using our initial and new RFC templates: #92, #94, #95, #991, #122
169
169
170
170
### Releasing a new version
171
171
172
-
> TODO: This is an area we want to increase automation while keeping communication at human level.
172
+
Firstly, make sure the commit history in the `develop` branch **(1)** it's up to date, **(2)** commit messages are semantic, and **(3)** commit messages have their respective area, for example `feat(logger): <change>`, `chore(ci): ...`).
173
173
174
-
Firstly, make sure you are using the `develop` branch and it is up to date with the origin.
174
+
**Found typos or unclear commit messages?**
175
175
176
-
There are three main steps to release a new version: Changelog generation, version bumping, and drafting release notes.
176
+
Reword through rebase and push with `--force-with-lease` once you're confident. This will ensure [CHANGELOG](./CHANGELOG.md) is always clear for customers looking to understand what changed in between releases - was that a bug? what new features and for which utility?
177
177
178
-
#### Changelog generation
178
+
**Looks good, what's next?**
179
179
180
-
You can pre-generate a temporary CHANGELOG using `make changelog`. This will generate a `TMP_CHANGELOG.md` with all staged changes under the `unreleased` section.
181
-
182
-
Each unreleased line item is a commit. You can adjust them if you find the commit titles are insufficient to describe their intent. Once you're comfortable, bring these changes to the `CHANGELOG.md` with a new version heading like in previous versions.
183
-
184
-
#### Bumping the version
185
-
186
-
Use `poetry version <major|minor|patch|specific version>` to bump the version. For example, you can use `poetry version minor` when releasing a minor version.
187
-
188
-
NOTE. Make sure both `CHANGELOG` and `pyproject.toml` are committed and pushed to the remote `develop` branch before proceeding.
180
+
The only step is to draft and publish a good release notes, everything else is automated.
189
181
190
182
#### Drafting release notes
191
183
@@ -195,21 +187,27 @@ Make sure the `tag` field reflects the new version you're releasing, the target
195
187
196
188
You'll notice we group all changes based on their [labels](#labels) like `feature`, `bug`, `documentation`, etc.
197
189
198
-
> **Q: What if there's an incorrect title or grouping?**
190
+
**I spotted a typo or incorrect grouping - how do I fix it?**
199
191
200
192
Edit the respective PR title and update their [labels](#labels). Then run the [Release Drafter workflow](https://github.com/awslabs/aws-lambda-powertools-python/actions/workflows/release-drafter.yml) to update the Draft release.
201
193
202
-
The best part comes now. Replace the placeholder `[Human readable summary of changes]` with what you'd like to communicate to customers what this release is all about. Always put yourself in the customers shoes. For that, these are some questions to keep in mind when drafting your first or future release notes:
194
+
**All looking good, what's next?**
195
+
196
+
The best part comes now. Replace the placeholder `[Human readable summary of changes]` with what you'd like to communicate to customers what this release is all about. Rule of thumb: always put yourself in the customers shoes.
197
+
198
+
These are some questions to keep in mind when drafting your first or future release notes:
203
199
204
200
- Can customers understand at a high level what changed in this release?
205
201
- Is there a link to the documentation where they can read more about each main change?
206
-
- Are there any graphics or code snippets that can enhance readability?
202
+
- Are there any graphics or [code snippets](carbon.now.sh/) that can enhance readability?
207
203
- Are we calling out any key contributor(s) to this release?
208
204
- All contributors are automatically credited, use this as an exceptional case to feature them
209
205
210
-
Once you're happy, hit `Publish release`. This will kick off the [Publishing workflow](https://github.com/awslabs/aws-lambda-powertools-python/actions/workflows/publish.yml) and within a few minutes you should see the latest version in PyPi, and all issues labeled as `pending-release` will be notified.
206
+
Once you're happy, hit `Publish release` 🎉🎉🎉.
207
+
208
+
This will kick off the [Publishing workflow](https://github.com/awslabs/aws-lambda-powertools-python/actions/workflows/publish.yml) and within a few minutes you should see the latest version in PyPi, and all issues labeled as `pending-release` will be closed and notified.
211
209
212
-
> TODO: Wait for @am29d new Lambda Layers pipeline work to complete, then add how Lambda Layers are published
210
+
> TODO: Include information to verify SAR and Lambda Layers deployment; we're still finalizing Lambda Layer automated deployment in GitHub Actions - ping @am29d when in doubt.
0 commit comments