Skip to content

Commit

Permalink
Allow use of SetDevVersion locally and across stages.
Browse files Browse the repository at this point in the history
  • Loading branch information
mitchdenny authored and azure-sdk committed Apr 29, 2021
1 parent c849be9 commit 164a88c
Showing 1 changed file with 5 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,10 @@ steps:
if (('$(Build.Reason)' -in 'Schedule', 'IndividualCI') -and ('$(System.TeamProject)' -eq 'internal')) {
$setDailyDevBuild = "true"
}
echo "##vso[task.setvariable variable=SetDevVersion;isOutput=true]$setDailyDevBuild"
name: SetupVersioningProperties
echo "##vso[task.setvariable variable=SetDevVersion]$setDailyDevBuild"
displayName: "Setup Versioning Properties"
condition: eq(variables['SetDevVersion'], '')
- pwsh: |
echo "##vso[task.setvariable variable=SetDevVersion;isOutput=true]$(SetDevVersion)"
name: VersioningProperties
displayName: "Export Versioning Properties"

0 comments on commit 164a88c

Please sign in to comment.