Skip to content

Commit

Permalink
Fix conditionals
Browse files Browse the repository at this point in the history
  • Loading branch information
JoeRobich committed Aug 13, 2024
1 parent ef5a6e0 commit 4d3bf13
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ trigger:
- master
- refs/tags/*

pr: none

resources:
repositories:
- repository: rsg
Expand Down Expand Up @@ -33,11 +35,11 @@ variables:
stages:
- stage: CreateBetaReleaseTag
displayName: "Tag Beta Release"
condition: eq(variables.IsMaster, true)
jobs:
- job: GitVersion
pool:
vmImage: "windows-2019"
condition: variables.IsMaster
steps:
- template: gitversion/store.yml@rsg
parameters:
Expand Down Expand Up @@ -69,11 +71,11 @@ stages:

- stage: BuildRelease
displayName: "Build Release"
condition: eq(variables.IsRelease, true)
jobs:
- job: GitVersion
pool:
vmImage: "windows-2019"
condition: variables.IsRelease
steps:
- template: gitversion/store.yml@rsg
parameters:
Expand Down Expand Up @@ -189,7 +191,7 @@ stages:
packagesToPush: "$(System.ArtifactsDirectory)/nuget/**/*.nupkg"
publishFeedCredentials: nuget.org
allowPackageConflicts: true
condition: and(succeeded(), variables.IsOfficialRelease)
condition: and(succeeded(), eq(variables.IsOfficialRelease, true))
- task: GitHubRelease@1
displayName: "GitHub release (edit)"
inputs:
Expand Down

0 comments on commit 4d3bf13

Please sign in to comment.