diff --git a/scripts/azure-pipelines-complete.yml b/scripts/azure-pipelines-complete.yml index c0ae30075d..2438a7c639 100644 --- a/scripts/azure-pipelines-complete.yml +++ b/scripts/azure-pipelines-complete.yml @@ -1,12 +1,12 @@ trigger: - main - develop - - patch/* + - release/* pr: - main - develop - - patch/* + - release/* parameters: - name: buildExternals diff --git a/scripts/azure-pipelines.yml b/scripts/azure-pipelines.yml index 3e0db24a0b..059d497f4b 100644 --- a/scripts/azure-pipelines.yml +++ b/scripts/azure-pipelines.yml @@ -1,12 +1,12 @@ trigger: - main - develop - - patch/* + - release/* pr: - main - develop - - patch/* + - release/* parameters: - name: buildExternals diff --git a/scripts/azure-templates-stages.yml b/scripts/azure-templates-stages.yml index 0c78c39493..4e87587d83 100644 --- a/scripts/azure-templates-stages.yml +++ b/scripts/azure-templates-stages.yml @@ -457,9 +457,9 @@ stages: jobs: - template: sign-artifacts/jobs/v2.yml@xamarin-templates parameters: - ${{ if or(eq(variables['Build.SourceBranch'], 'refs/heads/main'), startsWith(variables['Build.SourceBranch'], 'refs/heads/patch/')) }}: + ${{ if or(eq(variables['Build.SourceBranch'], 'refs/heads/main'), startsWith(variables['Build.SourceBranch'], 'refs/heads/release/')) }}: signType: 'Real' - ${{ if not(or(eq(variables['Build.SourceBranch'], 'refs/heads/main'), startsWith(variables['Build.SourceBranch'], 'refs/heads/patch/'))) }}: + ${{ if not(or(eq(variables['Build.SourceBranch'], 'refs/heads/main'), startsWith(variables['Build.SourceBranch'], 'refs/heads/release/'))) }}: signType: 'Test' - ${{ if and(eq(variables['System.TeamProject'], 'devdiv'), ne(parameters.buildPipelineType, 'tests'), ne(variables['System.PullRequest.IsFork'], 'true')) }}: @@ -821,7 +821,7 @@ stages: name: native_checks_windows displayName: Run Code Checks buildPipelineType: ${{ parameters.buildPipelineType }} - condition: or(eq(variables['Build.SourceBranch'], 'refs/heads/main'), startsWith(variables['Build.SourceBranch'], 'refs/heads/patch/')) + condition: or(eq(variables['Build.SourceBranch'], 'refs/heads/main'), startsWith(variables['Build.SourceBranch'], 'refs/heads/release/')) vmImage: ${{ parameters.VM_IMAGE_WINDOWS}} target: git-sync-deps installAndroidSdk: false