Skip to content

Commit

Permalink
Set up CI with Azure Pipelines
Browse files Browse the repository at this point in the history
[skip ci]
  • Loading branch information
SharonHart committed Feb 28, 2021
1 parent bd71324 commit e13d3f9
Showing 1 changed file with 34 additions and 0 deletions.
34 changes: 34 additions & 0 deletions azure-pipelines-1.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
# Presidio Release: Push to Github Releases, pypi, and to ACR twice (with verison, latest) with 'public' tag for MCR release.

trigger: none
pr: none

variables:
- group: Presidio-V2-CI
stages:
- stage: Release
displayName: Release
jobs:
- job: version
displayName: 'Get the version number'
steps:
- bash: |
set -eux # exit on error
ver=0.95
echo $ver
echo "##vso[task.setvariable variable=version;isOutput=true]$ver"
displayName: Set Version
name: setVer
- job: githubRelease
displayName: GitHub Release
dependsOn: version
variables:
version: $[ dependencies.Version.outputs['setVer.version'] ]
steps:
- task: GitHubRelease@0
inputs:
gitHubConnection: $(GITHUB_CONNECTION)
tagSource: manual
tag: $(version)

0 comments on commit e13d3f9

Please sign in to comment.