Skip to content
This repository was archived by the owner on Feb 1, 2025. It is now read-only.

Commit 8b455c7

Browse files
committed
move v7 to separate branch
1 parent 4d990e8 commit 8b455c7

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

azure-pipelines.yml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,13 @@ variables:
77

88
# build on commits to important branches (master + release branches):
99
trigger:
10-
- master
11-
- release
10+
- version7
11+
- release.7
1212
# don't trigger pr builds by default, users should trigger them manually using /azp bot commands
1313
# when we have multiple test runs waiting for free job, when nobody needs them
1414
# we only want to trigger it for pr to release branch
1515
pr:
16-
- master
16+
- version7
1717

1818
stages:
1919

@@ -48,15 +48,15 @@ stages:
4848

4949
- powershell: echo "##vso[task.setvariable variable=packageVersion]$(packageVersion)-rc.$(Build.BuildId)"
5050
displayName: Set nuget RC version for non-release branch
51-
condition: and(succeeded(), eq(variables['Build.SourceBranchName'], 'master'))
51+
condition: and(succeeded(), eq(variables['Build.SourceBranchName'], 'version7'))
5252

5353
- task: PowerShell@2
5454
inputs:
5555
filePath: '$(Build.SourcesDirectory)/NuGet/BuildNuspecs.ps1'
5656
workingDirectory: '$(Build.SourcesDirectory)'
5757
arguments: -path $(Build.SourcesDirectory)/NuGet/linq2db.EntityFrameworkCore.nuspec -version $(packageVersion) -branch $(Build.SourceBranchName)
5858
displayName: Generate nuspec
59-
condition: and(succeeded(), or(eq(variables['Build.SourceBranchName'], 'release'), eq(variables['Build.SourceBranchName'], 'master')))
59+
condition: and(succeeded(), or(eq(variables['Build.SourceBranchName'], 'release.7'), eq(variables['Build.SourceBranchName'], 'master')))
6060

6161
- task: NuGetToolInstaller@1
6262

@@ -65,21 +65,21 @@ stages:
6565
script: 'nuget Pack linq2db.EntityFrameworkCore.nuspec -OutputDirectory built'
6666
workingDirectory: $(Build.SourcesDirectory)/NuGet
6767
displayName: Build nuget (azure artifacts)
68-
condition: and(succeeded(), eq(variables['Build.SourceBranchName'], 'master'))
68+
condition: and(succeeded(), eq(variables['Build.SourceBranchName'], 'version7'))
6969

7070
- task: CmdLine@2
7171
inputs:
7272
script: 'nuget Pack linq2db.EntityFrameworkCore.nuspec -OutputDirectory built -Symbols -SymbolPackageFormat snupkg'
7373
workingDirectory: $(Build.SourcesDirectory)/NuGet
7474
displayName: Build nuget (nuget.org)
75-
condition: and(succeeded(), eq(variables['Build.SourceBranchName'], 'release'))
75+
condition: and(succeeded(), eq(variables['Build.SourceBranchName'], 'release.7'))
7676

7777
- task: PublishBuildArtifacts@1
7878
inputs:
7979
pathToPublish: '$(Build.SourcesDirectory)/NuGet/built'
8080
artifactName: '$(artifact_nugets)'
8181
displayName: Publish nugets to artifacts
82-
condition: and(succeeded(), or(eq(variables['Build.SourceBranchName'], 'release'), eq(variables['Build.SourceBranchName'], 'master')))
82+
condition: and(succeeded(), or(eq(variables['Build.SourceBranchName'], 'release.7'), eq(variables['Build.SourceBranchName'], 'master')))
8383

8484
- task: NuGetCommand@2
8585
inputs:
@@ -88,7 +88,7 @@ stages:
8888
nuGetFeedType: 'internal'
8989
publishVstsFeed: '0dcc414b-ea54-451e-a54f-d63f05367c4b/967a4107-9788-41a4-9f6d-a2318aab1410'
9090
displayName: Publish to Azure Artifacts feed
91-
condition: and(succeeded(), eq(variables['Build.SourceBranchName'], 'master'))
91+
condition: and(succeeded(), eq(variables['Build.SourceBranchName'], 'version7'))
9292

9393
- task: NuGetCommand@2
9494
inputs:
@@ -97,4 +97,4 @@ stages:
9797
nuGetFeedType: 'external'
9898
publishFeedCredentials: 'linq2db nuget.org feed'
9999
displayName: Publish to Nuget.org
100-
condition: and(succeeded(), eq(variables['Build.SourceBranchName'], 'release'))
100+
condition: and(succeeded(), eq(variables['Build.SourceBranchName'], 'release.7'))

0 commit comments

Comments
 (0)