Skip to content

Commit 06f9930

Browse files
authored
Merge pull request #491 from github/lildude/enhance-release-procedure
Docs: Add pre and post release actions
2 parents fcce80b + c8f559c commit 06f9930

File tree

1 file changed

+21
-7
lines changed

1 file changed

+21
-7
lines changed

RELEASING.md

Lines changed: 21 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -8,24 +8,28 @@ There is no need to align Backup Utilities patch releases with GitHub Enterprise
88

99
When making a `.0` release, you will need to specify the minimum supported version of GitHub Enterprise Server that that release supports.
1010

11-
## Automatic Process from chatops (internal to GitHub only) - Coming :soon:
11+
## Pre-release Actions
1212

13-
### Feature release:
13+
Prior to making a release,
1414

15-
`.ghe backup-utils-release 2.13.0 2.11.0`
15+
1. Go through the list of open pull requests and merge any that are ready for merging.
16+
2. Go through the list of closed pull requests since the last release and ensure those that should be included in the release notes:
17+
- have a "bug", "enhancement" or "feature" label,
18+
- have a title that clearly describes the changes in that pull request. Reword if necessary.
19+
3. Perform a dry run (add `--dry-run` to one of the commands below) and verify the version strings are going to be changed and verify the release notes.
1620

17-
### Patch release:
21+
## Automatic Process from chatops (internal to GitHub only)
1822

19-
`.ghe backup-utils-release 2.13.1`
23+
Coming :soon:
2024

2125
## Automatic Process from CLI
2226

2327
1. Install the Debian `devscripts` package:
2428
`sudo apt-get install devscripts`
2529
2. Run...
26-
- Feature release:
30+
- Feature release:
2731
`GH_AUTHOR="Bob Smith <[email protected]>" GH_RELEASE_TOKEN=your-amazing-secure-token script/release 2.13.0 2.11.0`
28-
- Patch release:
32+
- Patch release:
2933
`GH_AUTHOR="Bob Smith <[email protected]>" GH_RELEASE_TOKEN=your-amazing-secure-token script/release 2.13.1`
3034

3135
## Manual Process
@@ -45,3 +49,13 @@ In the event you can't perform the automatic process, or a problem is encountere
4549
8. Draft a new release at https://github.com/github/backup-utils/releases, including the release notes and attaching the tarball and deb packages.
4650
The dist tarball you should upload has the revision in the file name, i.e. something like `github-backup-utils-v2.13.0.tar.gz`
4751
9. Push the head of the release to the 'stable' branch.
52+
53+
## Post-release Actions
54+
55+
Immediately after making a release using one of the methods above, verify the release has succeeded by checking:
56+
57+
- latest release at https://github.com/github/backup-utils/releases is correct,
58+
- release at https://github.com/github/backup-utils/releases is linked to the vX.Y.Z tag,
59+
- release has the notes you expect to see,
60+
- asset download links for the latest release at https://github.com/github/backup-utils/releases all download the correct version of Backup Utilities,
61+
- the stable branch is inline with master - https://github.com/github/backup-utils/compare/stable...master.

0 commit comments

Comments
 (0)