Skip to content

Commit

Permalink
Fixed dBTestCompareVersion as latest tag version when release created…
Browse files Browse the repository at this point in the history
… on github
  • Loading branch information
raczeja committed Mar 27, 2020
1 parent ac5beb8 commit 7ef64ff
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 @@ -16,7 +16,7 @@ pool:

variables:
- name: dBTestCompareVersion
value: 1.5
value: 1.6

steps:
- task: PowerShell@2
Expand All @@ -25,10 +25,9 @@ steps:
targetType: 'inline'
script: |
$TagArray= git tag -l *
$AppVersion = $TagArray[$TagArray.Count – 1]
Write-Host "##vso[task.setvariable variable=dBTestCompareVersion;]$AppVersion"
Write-Host "##vso[task.setvariable variable=dBTestCompareVersion]$AppVersion"
Write-Host $(dBTestCompareVersion)
- task: PowerShell@2
inputs:
Expand Down

0 comments on commit 7ef64ff

Please sign in to comment.