From 64bbcef7b9f57bcac6018a132876b00366052947 Mon Sep 17 00:00:00 2001 From: Jeffrey Wright Date: Sun, 26 Feb 2023 15:54:00 -0700 Subject: [PATCH] Add RELEASE_INSTRUCTIONS for Poetry. --- misc/RELEASE_INSTRUCTIONS.md | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 misc/RELEASE_INSTRUCTIONS.md diff --git a/misc/RELEASE_INSTRUCTIONS.md b/misc/RELEASE_INSTRUCTIONS.md new file mode 100644 index 0000000..23530cd --- /dev/null +++ b/misc/RELEASE_INSTRUCTIONS.md @@ -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