Skip to content

Commit af635ac

Browse files
committed
Address feedback
1 parent e83a3a1 commit af635ac

File tree

2 files changed

+9
-3
lines changed

2 files changed

+9
-3
lines changed

Makefile

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -262,3 +262,9 @@ release-candidate: check-main publish bumpversion-candidate git-push
262262

263263
.PHONY: release-candidate-test
264264
release-candidate-test: check-clean check-main publish-test
265+
266+
.PHONY: release-minor
267+
release-minor: check-release bumpversion-minor release
268+
269+
.PHONY: release-major
270+
release-major: check-release bumpversion-major release

RELEASE.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -167,9 +167,9 @@ make check-release
167167
The `stable` branch needs to be updated with the changes from `main` and the version needs to be bumped.
168168
Depending on the type of release, run one of the following:
169169

170-
* `make release`: This will release a patch, which is the most common type of release. Use this when the changes are bugfixes or enhancements that do not modify the existing user API. Changes that modify the user API to add new features but that do not modify the usage of the previous features can also be released as a patch.
171-
* `make release-minor`: This will release the next minor version. Use this if the changes modify the existing user API in any way, even if it is backwards compatible. Minor backwards incompatible changes can also be released as minor versions while the library is still in beta state. After the major version 1 has been released, minor version can only be used to add backwards compatible API changes.
172-
* `make release-major`: This will release the next major version. Use this to if the changes modify the user API in a backwards incompatible way after the major version 1 has been released.
170+
* `make release`: This will release the version that has already been bumped (patch, minor, or major). By default, this is typically a patch release. Use this when the changes are bugfixes or enhancements that do not modify the existing user API. Changes that modify the user API to add new features but that do not modify the usage of the previous features can also be released as a patch.
171+
* `make release-minor`: This will bump and release the next minor version. Use this if the changes modify the existing user API in any way, even if it is backwards compatible. Minor backwards incompatible changes can also be released as minor versions while the library is still in beta state. After the major version v1.0.0 has been released, minor version can only be used to add backwards compatible API changes.
172+
* `make release-major`: This will bump and release the next major version. Use this if the changes modify the user API in a backwards incompatible way after the major version v1.0.0 has been released.
173173

174174
Running one of these will **push commits directly** to `main`.
175175
At the end, you should see the 3 commits on `main` (from oldest to newest):

0 commit comments

Comments
 (0)