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 0a9ab44 commit b78c14d
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,6 @@ pr:
pool:
vmImage: 'ubuntu-latest'

variables:
TagName: ""

steps:

- task: GoTool@0
Expand Down Expand Up @@ -59,7 +56,9 @@ steps:
- 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
Expand All @@ -69,7 +68,7 @@ steps:
inputs:
action: create
tagSource: 'auto'
title: $(TagName)
title: $(getTag.TagName)
gitHubConnection: Github
repositoryName: Optum/dce-cli
isDraft: true
Expand Down

0 comments on commit b78c14d

Please sign in to comment.