Skip to content

Commit aa43f01

Browse files
committed
Lean more on poetry in the release script
1 parent c67dde8 commit aa43f01

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

release.sh

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,14 @@
11
#!/usr/bin/env bash
22
set -euo pipefail
33

4-
tox --recreate
4+
poetry install
5+
poetry run tox --recreate
56

67
rm -rf dist/
78
poetry build
89

9-
# TODO: automate releases on tag builds of travis
10+
echo "Set these environment variables if you wish to not be pestered:"
11+
echo "export POETRY_PYPI_TOKEN_PYPI=my-token"
12+
echo "export POETRY_HTTP_BASIC_PYPI_USERNAME=username"
13+
echo "export POETRY_HTTP_BASIC_PYPI_PASSWORD=password"
14+
poetry publish --no-interaction

0 commit comments

Comments
 (0)