-
Notifications
You must be signed in to change notification settings - Fork 47
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: actions generate GitHub Release and changes (#226)
- Loading branch information
1 parent
0fc70de
commit 5fc17f6
Showing
3 changed files
with
18 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,13 @@ | ||
# How to release a new version | ||
|
||
1. Add a new version to CHANGELOG.md. Browse through https://github.com/Pylons/pyramid_openapi3/commits/main to see what was done since last release. Remember to set the correct release date. | ||
1. Set the same version in `pyproject.toml`. | ||
1. Set the new version in `pyproject.toml`. | ||
1. `make lock` | ||
1. `make tests` | ||
1. `export VERSION=<new version>` | ||
1. `git add -p && git ci -m "release $VERSION"` | ||
1. `git push origin main` and wait for CircleCI to pass the build. | ||
1. `git push origin main` and wait for GitHub Actions to pass the build. | ||
1. `git tag $VERSION` | ||
1. `git push --tags` | ||
|
||
The Action should build & test the package, and then upload it to PyPI. | ||
Then, automatically create a new GitHub Release with generated changelog. |