Skip to content

Commit

Permalink
Update azure-pipelines.yml for Azure Pipelines
Browse files Browse the repository at this point in the history
  • Loading branch information
joshmarsh committed Oct 22, 2019
1 parent b78c14d commit 181f88a
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,22 +53,13 @@ steps:
zip -m dce_darwin_amd64.zip ./dce
displayName: 'Build and zip'

- script: |
set -x
TagName=$(git describe --abbrev=0)
echo "##vso[task.setvariable variable=TagName;isOutput=true]$TagName"
displayName: 'Retrieve Git Tag Name'
name: 'getTag'


# Publish a Github Release for tagged commits
# See https://docs.microsoft.com/en-us/azure/devops/pipelines/tasks/utility/github-release?view=azure-devops
- task: GithubRelease@0
displayName: 'Create GitHub Release'
inputs:
action: create
tagSource: 'auto'
title: $(getTag.TagName)
gitHubConnection: Github
repositoryName: Optum/dce-cli
isDraft: true
Expand Down

0 comments on commit 181f88a

Please sign in to comment.