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: docs/release/release-tasks.md
+13-6Lines changed: 13 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -361,15 +361,22 @@ The goal of this task is to keep the CAPI community updated on recent PRs that h
361
361
362
362
#### Create PR for release notes
363
363
1. Checkout the `main` branch.
364
-
1. Generate release notes with:
364
+
2. Generate release notes with:
365
365
366
+
1. RELEASE CANDIDATE/BETA RELEASE example:
366
367
```bash
367
368
# RELEASE_TAG should be the new desired tag (note: at this point the tag does not yet exist).
368
-
# Can be also used for pre-releases. The warning banner for RC and beta releases will be determined automatically.
369
-
RELEASE_TAG=v1.6.x make release-notes
369
+
# PREVIOUS_RELEASE_TAG is the previous released tag for determining the changes.
370
+
RELEASE_TAG=v1.7.x-rc.1 PREVIOUS_RELEASE_TAG=tags/v1.7.x-rc.0 make release-notes
371
+
```
372
+
**Note**: For a first pre-release version without a pre-release precedent, use above command without `PREVIOUS_RELEASE_TAG`.
373
+
2. STABLE RELEASE example
374
+
```bash
375
+
# RELEASE_TAG should be the new desired tag (note: at this point the tag does not yet exist).
376
+
RELEASE_TAG=v1.7.x make release-notes
370
377
```
371
378
372
-
1. This will generate a new release notes file at `CHANGELOG/<RELEASE_TAG>.md`. Finalize the release notes:
379
+
3. This will generate a new release notes file at `CHANGELOG/<RELEASE_TAG>.md`. Finalize the release notes:
373
380
- [ ] Look for any `MISSING_AREA` entries. Add the corresponding label to the PR and regenerate the notes.
374
381
- [ ] Look for any `MULTIPLE_AREAS` entries. If the PR does indeed guarantee multiple areas, just remove the `MULTIPLE_AREAS` prefix and just leave the areas. Otherwise, fix the labels in the PR and regenerate the notes.
375
382
- [ ] Review that all areas are correctly assigned to each PR. If not, correct the labels and regenerate the notes.
@@ -382,8 +389,8 @@ The goal of this task is to keep the CAPI community updated on recent PRs that h
382
389
- [ ] Sort manually all entries if you made any manual edits that might have altered the correct order.
383
390
- [ ] **For minor releases:** Modify `Changes since v1.x.y` to `Changes since v1.x`
384
391
<br>**Note**: The release notes tool includes all merges since the previous release branch was branched of.
385
-
1. Checkout `main`, branch out from it and add `CHANGELOG/<RELEASE_TAG>.md`.
386
-
1. Open a pull request **against the main branch** with all manual edits to `CHANGELOG/<RELEASE_TAG>.md` which is used for the new release notes. The commit and PR title should be `š Release v1.x.y`.
392
+
4. Checkout `main`, branch out from it and add `CHANGELOG/<RELEASE_TAG>.md`.
393
+
5. Open a pull request **against the main branch** with all manual edits to `CHANGELOG/<RELEASE_TAG>.md` which is used for the new release notes. The commit and PR title should be `š Release v1.x.y`.
387
394
<br>**Note**: Important! The commit should only contain the release notes file, nothing else, otherwise automation will not work.
0 commit comments