-
-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
8 additions
and
7 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,11 @@ | ||
# Releasing on PyPI | ||
|
||
1. Update the `version` in `pyproject.toml`. We use semantic versioning | ||
2. Create and merge a pull request branch called `release-x.x.x` | ||
3. Pull from `main` | ||
4. At the command line, run `make tag` | ||
5. Go to [tags page](https://github.com/pydanny/listo/tags), choose the most recent tag, and click `Draft a new release` | ||
6. Click `Generate release notes` and save | ||
7. Run `make changelog` | ||
8. Use `git commit --amend` to add the just pulled release notes to the release commit | ||
2. Create and push pull request branch called `release-x.x.x` | ||
3. At the command line, run `make tag` | ||
4. Go to [tags page](https://github.com/pydanny/dj-notebook/tags), choose the most recent tag, and click `Draft a new release` | ||
5. Click `Generate release notes` and then `Publish release notes` | ||
6. Run `make changelog` | ||
7. Use `git commit --amend` to add the just pulled release notes to the release commit | ||
8. `git push --force` | ||
9. Merge to main |