mirror of
https://github.com/Dinnerbone/mcstatus.git
synced 2026-04-06 03:51:23 +08:00
Lean more on poetry in the release script
This commit is contained in:
@@ -1,9 +1,14 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
set -euo pipefail
|
set -euo pipefail
|
||||||
|
|
||||||
tox --recreate
|
poetry install
|
||||||
|
poetry run tox --recreate
|
||||||
|
|
||||||
rm -rf dist/
|
rm -rf dist/
|
||||||
poetry build
|
poetry build
|
||||||
|
|
||||||
# TODO: automate releases on tag builds of travis
|
echo "Set these environment variables if you wish to not be pestered:"
|
||||||
|
echo "export POETRY_PYPI_TOKEN_PYPI=my-token"
|
||||||
|
echo "export POETRY_HTTP_BASIC_PYPI_USERNAME=username"
|
||||||
|
echo "export POETRY_HTTP_BASIC_PYPI_PASSWORD=password"
|
||||||
|
poetry publish --no-interaction
|
||||||
|
|||||||
Reference in New Issue
Block a user