Skip to content

Commit 699c812

Browse files
committed
release process: clarify change log updates
1 parent 2e5533e commit 699c812

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

doc/release-process.md

+7-3
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,10 @@ gcc -o ecdsa examples/ecdsa.c -I $dir/include -L $dir/lib*/ -l secp256k1 -Wl,-rp
3737
## Regular release
3838

3939
1. Open a PR to the master branch with a commit (using message `"release: prepare for $MAJOR.$MINOR.$PATCH"`, for example) that
40-
* finalizes the release notes in [CHANGELOG.md](../CHANGELOG.md) (make sure to include an entry for `### ABI Compatibility`),
40+
* finalizes the release notes in [CHANGELOG.md](../CHANGELOG.md) by
41+
* adding a section for the release (make sure that the version number is a link to a diff between the previous and new version),
42+
* removing the `[Unreleased]` section header, and
43+
* including an entry for `### ABI Compatibility` if it doesn't exist that mentions the library soname of the release,
4144
* sets `_PKG_VERSION_IS_RELEASE` to `true` in `configure.ac`, and
4245
* if this is not a patch release
4346
* updates `_PKG_VERSION_*` and `_LIB_VERSION_*` in `configure.ac` and
@@ -49,8 +52,9 @@ gcc -o ecdsa examples/ecdsa.c -I $dir/include -L $dir/lib*/ -l secp256k1 -Wl,-rp
4952
git push [email protected]:bitcoin-core/secp256k1.git v$MAJOR.$MINOR.$PATCH
5053
```
5154
3. Open a PR to the master branch with a commit (using message `"release cleanup: bump version after $MAJOR.$MINOR.$PATCH"`, for example) that
52-
* sets `_PKG_VERSION_IS_RELEASE` to `false` and increments `_PKG_VERSION_PATCH` and `_LIB_VERSION_REVISION` in `configure.ac`, and
53-
* increments the `$PATCH` component of `project(libsecp256k1 VERSION ...)` and `${PROJECT_NAME}_LIB_VERSION_REVISION` in `CMakeLists.txt`.
55+
* sets `_PKG_VERSION_IS_RELEASE` to `false` and increments `_PKG_VERSION_PATCH` and `_LIB_VERSION_REVISION` in `configure.ac`,
56+
* increments the `$PATCH` component of `project(libsecp256k1 VERSION ...)` and `${PROJECT_NAME}_LIB_VERSION_REVISION` in `CMakeLists.txt`, and
57+
* adds an `[Unreleased]` section header to the [CHANGELOG.md](../CHANGELOG.md).
5458

5559
If other maintainers are not present to approve the PR, it can be merged without ACKs.
5660
4. Create a new GitHub release with a link to the corresponding entry in [CHANGELOG.md](../CHANGELOG.md).

0 commit comments

Comments
 (0)