Skip to content

Commit

Permalink
Use poetry for pipeline release
Browse files Browse the repository at this point in the history
  • Loading branch information
Jim Robinson committed May 15, 2024
1 parent fe99795 commit 0756196
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,11 @@ jobs:
- task: gitversion/execute@0
displayName: Use GitVersion
- script: |
python -m pip install pipenv twine
pipenv install
python setup.py sdist twine
python -m twine upload ./dist/* --non-interactive -u __token__ -p $(pypi_token)
curl -sSL https://install.python-poetry.org | python3 -
poetry install
poetry version $(semVer)
poetry build
poetry publish
- job: GithubRelease
dependsOn: build
displayName: GithubRelease
Expand Down

0 comments on commit 0756196

Please sign in to comment.