From e654ff1c45d2da6d111c8ea07db1e70adff27852 Mon Sep 17 00:00:00 2001 From: Hannah Greene Date: Tue, 29 Nov 2022 13:19:44 -0600 Subject: [PATCH] update CONTRIBUTOR.md based on new method --- CONTRIBUTOR.md | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/CONTRIBUTOR.md b/CONTRIBUTOR.md index 68e026e..bae7b99 100644 --- a/CONTRIBUTOR.md +++ b/CONTRIBUTOR.md @@ -17,8 +17,13 @@ To exactly replicate the CI steps, add the `-f docker-compose.ci.yml` arg to the To cut a new version, follow these steps: -- create and merge final feature branch updating `CHANGELOG.md` -- tag final commit hash with `git tag `, e.g. `git tag 0.1.3`. +(the first time you do this) +- get `maintainer` access to the `wayscript` project on pypi +- create an API key for the project (save for future use) +(all times) +- run `export TWINE_PASSWORD=""` in terminal to set up environment variable +- tag final commit hash with `git tag `, e.g. `git tag 0.3.1`. +- in `publish.sh`, update `VERSION=""` - publish to pypi with: ``` docker-compose run --rm app bash publish.sh