Skip to content

Commit

Permalink
Enable publishToMaestro when build is scheduled (#901)
Browse files Browse the repository at this point in the history
  • Loading branch information
kythant authored and DrusTheAxe committed Jun 14, 2021
1 parent aa311c5 commit c9d6d29
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion build/ProjectReunion-BuildFoundation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -366,7 +366,10 @@ jobs:
signConfigPattern: 'Microsoft.ProjectReunion*.nupkg'
useReleaseTag: '$(ProjectReunionFinalRelease)'
prereleaseVersionTag: nightly
publishToMaestro: ${{ parameters.PublishToMaestro }}
${{ if eq(variables['Build.Reason'], 'Schedule') }}:
publishToMaestro: True
${{ if ne(variables['Build.Reason'], 'Schedule') }}:
publishToMaestro: ${{ parameters.PublishToMaestro }}

# Build solution that depends on nuget package
#- template: AzurePipelinesTemplates\ProjectReunion-NugetReleaseTest-Job.yml
Expand Down

0 comments on commit c9d6d29

Please sign in to comment.