Skip to content

Commit

Permalink
stop making releases for branches (#202)
Browse files Browse the repository at this point in the history
* stop making releases for branches
  • Loading branch information
fundies committed Jan 6, 2021
1 parent a6a3adb commit 394448f
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions azure-jobs.yml
Expand Up @@ -5,7 +5,7 @@ parameters:
default: 'self'

jobs:
- ${{ if eq(parameters.repo, 'self') }}:
- ${{ if and(eq(parameters.repo, 'self'), eq(variables['Build.SourceBranch'], 'refs/heads/master')) }}:
- job: CreateReleaseCandidate
displayName: 'Create Release Candidate'
timeoutInMinutes: 15
Expand All @@ -23,7 +23,7 @@ jobs:

- job: MINGW
timeoutInMinutes: 360
${{ if eq(parameters.repo, 'self') }}:
${{ if and(eq(parameters.repo, 'self'), eq(variables['Build.SourceBranch'], 'refs/heads/master')) }}:
dependsOn: CreateReleaseCandidate
pool:
vmImage: windows-latest
Expand Down Expand Up @@ -117,7 +117,7 @@ jobs:
- job: MSVC_64
displayName: 'MSVC x86_64'
${{ if eq(parameters.repo, 'self') }}:
${{ if and(eq(parameters.repo, 'self'), eq(variables['Build.SourceBranch'], 'refs/heads/master')) }}:
dependsOn: CreateReleaseCandidate
pool:
vmImage: 'windows-latest'
Expand Down Expand Up @@ -191,7 +191,7 @@ jobs:
pathtoPublish: '$(Agent.BuildDirectory)/RadialGM-MSVC-x86_64.exe'
artifactName: RadialGM-MSVC-x86_64

- ${{ if eq(parameters.repo, 'self') }}:
- ${{ if and(eq(parameters.repo, 'self'), eq(variables['Build.SourceBranch'], 'refs/heads/master')) }}:
- task: GithubRelease@0
displayName: 'Add MSVC to GitHub Release'
inputs:
Expand Down Expand Up @@ -315,7 +315,7 @@ jobs:
EOF
displayName: 'Debug Build'
- ${{ if eq(parameters.repo, 'self') }}:
- ${{ if and(eq(parameters.repo, 'self'), eq(variables['Build.SourceBranch'], 'refs/heads/master')) }}:
- job: PublishRelease
displayName: 'Publish Release'
timeoutInMinutes: 15
Expand Down

0 comments on commit 394448f

Please sign in to comment.