Skip to content
This repository has been archived by the owner on Aug 27, 2024. It is now read-only.

Commit

Permalink
Update cd-build.yml for Azure Pipelines
Browse files Browse the repository at this point in the history
  • Loading branch information
SamVanhoutte committed Jun 11, 2020
1 parent 2bf7a76 commit 83c9972
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions build/cd-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,13 @@ pr: none
pool:
vmImage: 'ubuntu-latest'

resources:
repositories:
- repository: templates
type: github
name: arcus-azure/azure-devops-templates
endpoint: arcus-azure

steps:
- task: UsePythonVersion@0
inputs:
Expand Down Expand Up @@ -41,6 +48,17 @@ steps:
inputs:
pythonUploadServiceConnection: 'Arcus ML PyPi feed'

- template: github/create-release.yml@templates
parameters:
tag: '$(Package.Version)'
releaseTitle: '$(Package.Version)'
repositoryName: 'arcus-azure/arcus.ml'
releaseNotes: |
Install new version via [PyPi](https://pypi.org/project/arcus-ml/$(Package.Version))
```shell
PM > pip install arcus-ml==$(Package.Version)
```
- script: |
python -m twine upload --skip-existing --verbose -r 'arcus-ml' --config-file $(PYPIRC_PATH) dist/*
displayName: 'Publish to PyPi'
Expand Down

0 comments on commit 83c9972

Please sign in to comment.