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
Execute the tests and linting. The tests must end with no errors:
61
41
62
42
```bash
63
43
make test&& make lint
@@ -179,22 +159,12 @@ make check-release
179
159
```
180
160
181
161
## Bump Version
182
-
The `stable` branch needs to updated with the changes from `main`. Run the following:
183
-
```shell
184
-
git checkout stable
185
-
git pull origin stable
186
-
git checkout main
187
-
git pull origin main
188
-
make git-merge-main-stable
189
-
```
190
-
162
+
The `stable` branch needs to updated with the changes from `main` and the verison needs to be bumped.
191
163
Depending on the type of release, you will need to one of these different commands to bump the version:
192
164
193
-
**Note**: Run `git checkout main && git pull origin main` first. Then run one of the following:
194
-
195
-
*`bumpversion-patch`: 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.
196
-
*`bumpversion-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.
197
-
*`bumpversion-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.
165
+
*`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.
166
+
*`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.
167
+
*`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.
198
168
199
169
Running one of these will **push commits directly** to `main`.
200
170
At the end, you should see the 2 commits on `main` on (from oldest to newest):
0 commit comments