-
Notifications
You must be signed in to change notification settings - Fork 61
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 #443 from Backblaze/towncrier
Towncrier
- Loading branch information
Showing
8 changed files
with
396 additions
and
341 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
Large diffs are not rendered by default.
Oops, something went wrong.
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,25 +1,3 @@ | ||
# Release Process | ||
|
||
- Get the Nox: | ||
- `pip install -U nox` | ||
- Update the release history in `CHANGELOG.md`: | ||
- Change "Unreleased" to the current release version and date. | ||
- Create empty "Unreleased" section. | ||
- Add proper link to the new release (at the bottom of the file). Use GitHub [compare feature](https://docs.github.com/en/free-pro-team@latest/github/committing-changes-to-your-project/comparing-commits#comparing-tags) between two tags. | ||
- Update "Unreleased" link (at the bottom of the file). | ||
- Run linters and tests: | ||
- `export B2_TEST_APPLICATION_KEY=your_app_key` | ||
- `export B2_TEST_APPLICATION_KEY_ID=your_app_key_id` | ||
- `nox -x` | ||
- Build docs locally: | ||
- `nox --non-interactive -xs doc` | ||
- Commit and push to GitHub, then wait for CI workflow to complete successfully. | ||
- No need to make a branch. Push straight to `master`. | ||
- Tag in git and push tag to origin. (Version tags look like "v0.4.6".) | ||
- `git tag vx.x.x` | ||
- `git push origin vx.x.x` | ||
- Wait for CD workflow to complete successfully. | ||
- Verify that the GitHub release is created | ||
- Verify that the release has been uploaded to the PyPI | ||
- Install using pip and verify that it gets the correct version: | ||
- `pip install -U b2sdk` | ||
- Run `nox -s make_release_commit -- X.Y.Z` where `X.Y.Z` is the version you're releasing, and follow the instructions |
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 @@ | ||
Towncrier changelog generation - to avoid conflicts when simultaneously working on PRs |
Empty file.
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