-
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.
Add RELEASE_INSTRUCTIONS for Poetry.
- Loading branch information
Jeffrey Wright
committed
Feb 26, 2023
1 parent
fc4de3a
commit 64bbcef
Showing
1 changed file
with
19 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,19 @@ | ||
## One time setup ( per host/environment) ## | ||
### PYPI Test ### | ||
- add repository to poetry config: `poetry config repositories.audio-program-generator https://test.pypi.org/legacy/` | ||
- get token from https://test.pypi.org/manage/account/token/ | ||
- store token using poetry config pypi-token.test-pypi pypi-YYYYYYYY | ||
### PYPI Production ### | ||
- get token from https://pypi.org/manage/account/token/ | ||
- store token using poetry config pypi-token.pypi pypi-XXXXXXXX | ||
|
||
## Each time you need to publish ## | ||
### Bump version ### | ||
- poetry version prerelease or | ||
- poetry version patch | ||
|
||
## Poetry Publish ## | ||
### To TestPyPi ### | ||
- poetry publish -r test-pypi | ||
### To PyPi ### | ||
- poetry publish |