-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #179 from sirosen/release/0.19.0
Release v0.19.0
- Loading branch information
Showing
57 changed files
with
1,050 additions
and
1,219 deletions.
There are no files selected for viewing
Validating CODEOWNERS rules …
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,2 +1,2 @@ | ||
# The automate team will be requested for review on all opened PRs. | ||
* @ada-globus @derek-globus @jakeglobus @kurtmckee @sirosen | ||
* @ada-globus @derek-globus @jakeglobus @kurtmckee @MaxTueckeGlobus @sirosen |
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
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 |
---|---|---|
@@ -0,0 +1,42 @@ | ||
# Releasing | ||
|
||
- Determine a new version number, `VERSION=...` | ||
|
||
- Make sure your repo is on `main` and up to date; | ||
`git checkout main; git pull` | ||
|
||
- Checkout a release branch, `git checkout -b release/$VERSION` | ||
|
||
- Update the version number with `poetry version $VERSION` | ||
|
||
- Update the changelog, `scriv collect --edit` | ||
|
||
- Add, commit, and push the release branch | ||
|
||
``` | ||
git add pyproject.toml CHANGELOG.rst changelog.d/ | ||
git commit -m "Bump version for release v$VERSION" | ||
git push -u origin release/$VERSION | ||
``` | ||
_Note: this assumes `origin` is your desired upstream._ | ||
|
||
- Create a PR against the `production` branch; | ||
`gh pr create -B production -t "Release v$VERSION"` | ||
|
||
- After any changes and approval, merge the PR, checkout `production`, and pull; | ||
`git checkout production; git pull` | ||
|
||
- Create a release tag and push; | ||
`git tag -s "v$(poetry version -s)" -m "v$(poetry version -s)"` | ||
`git push --tags` | ||
|
||
- Create a GitHub release, which will auto-publish to pypi | ||
`gh release create "v$(poetry version -s)" --title "v$(poetry version -s)"` | ||
|
||
- Merge `production` back to `main` by opening and merging a PR: | ||
|
||
``` | ||
gh pr create -B main -H production -t "Merge back production->main ($(date +"%Y-%m-%d"))" -b '' -l no-news-is-good-news | ||
``` | ||
- Delete the release branch; `git branch -d release/$VERSION` |
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
Oops, something went wrong.