Skip to content

Commit 0756196

Browse files
author
Jim Robinson
committed
Use poetry for pipeline release
1 parent fe99795 commit 0756196

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

azure-pipelines.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -37,10 +37,11 @@ jobs:
3737
- task: gitversion/execute@0
3838
displayName: Use GitVersion
3939
- script: |
40-
python -m pip install pipenv twine
41-
pipenv install
42-
python setup.py sdist twine
43-
python -m twine upload ./dist/* --non-interactive -u __token__ -p $(pypi_token)
40+
curl -sSL https://install.python-poetry.org | python3 -
41+
poetry install
42+
poetry version $(semVer)
43+
poetry build
44+
poetry publish
4445
- job: GithubRelease
4546
dependsOn: build
4647
displayName: GithubRelease

0 commit comments

Comments
 (0)