Skip to content
This repository has been archived by the owner on Oct 23, 2023. It is now read-only.

Commit

Permalink
Update azure-pipelines.yml for Azure Pipelines
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexTeixeira committed Dec 6, 2021
1 parent 6152cfb commit 3e9caae
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,10 @@ steps:
script: |
# Write your PowerShell commands here.
$CI_BUILD_TAG = git tag --sort=-creatordate
Write-Host $CI_BUILD_TAG[0]
Write-Host "##vso[task.setvariable variable=CI_BUILD_TAG]$CI_BUILD_TAG[0]"
$tags = git tag --sort=-creatordate
$CI_BUILD_TAG = $tags[0]
Write-Host $CI_BUILD_TAG
Write-Host "##vso[task.setvariable variable=CI_BUILD_TAG]$CI_BUILD_TAG"
- task: DotNetCoreCLI@2
displayName: 'Unit Tests'
Expand Down

0 comments on commit 3e9caae

Please sign in to comment.