-
Notifications
You must be signed in to change notification settings - Fork 0
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
43 additions
and
0 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 |
---|---|---|
@@ -0,0 +1,43 @@ | ||
# Releasing pynumerals | ||
|
||
- Do platform test via tox: | ||
```shell | ||
tox -r | ||
``` | ||
|
||
- Make sure flake8 passes: | ||
```shell | ||
flake8 src | ||
``` | ||
|
||
- Update the version number, by removing the trailing `.dev0` in: | ||
- `setup.cfg` | ||
- `src/pynumerals/__init__.py` | ||
|
||
- Create the release commit: | ||
```shell | ||
git commit -a -m "release <VERSION>" | ||
git push origin | ||
``` | ||
|
||
- Create a release tag: | ||
``` | ||
gh release create | ||
``` | ||
|
||
- Release to PyPI: | ||
```shell | ||
rm dist/* | ||
python -m build -n | ||
twine upload dist/* -u __token__ -p"..." | ||
``` | ||
|
||
- Change version for the next release cycle, i.e. incrementing and adding .dev0 | ||
- `setup.cfg` | ||
- `src/pynumerals/__init__.py` | ||
|
||
- Commit/push the version change: | ||
```shell | ||
git commit -a -m "bump version for development" | ||
git push origin | ||
``` |