Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

stop making releases for branches #202

Merged
merged 2 commits into from
Jan 6, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions azure-jobs.yml
Original file line number Diff line number Diff line change
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