ci: adjust for main rename
This commit is contained in:
Родитель
d322891fc5
Коммит
e4c1177a0f
|
@ -1,7 +1,7 @@
|
|||
trigger:
|
||||
branches:
|
||||
include:
|
||||
- master
|
||||
- main
|
||||
- beta
|
||||
- release/beta/*
|
||||
- stable
|
||||
|
@ -10,7 +10,7 @@ trigger:
|
|||
pr:
|
||||
branches:
|
||||
include:
|
||||
- master
|
||||
- main
|
||||
- beta
|
||||
- release/beta/*
|
||||
- stable
|
||||
|
@ -21,7 +21,7 @@ variables:
|
|||
PackageOutputPath: $(Build.ArtifactStagingDirectory)
|
||||
|
||||
IsCanaryBranch: $[startsWith(variables['Build.SourceBranch'], 'refs/heads/canaries/')]
|
||||
IsReleaseBranch: $[or(eq(variables['Build.SourceBranch'], 'refs/heads/master'), startsWith(variables['Build.SourceBranch'], 'refs/heads/feature/'), startsWith(variables['Build.SourceBranch'], 'refs/heads/release/'))]
|
||||
IsReleaseBranch: $[or(eq(variables['Build.SourceBranch'], 'refs/heads/main'), startsWith(variables['Build.SourceBranch'], 'refs/heads/feature/'), startsWith(variables['Build.SourceBranch'], 'refs/heads/release/'))]
|
||||
|
||||
ANDROID_NDK_HOME: C:\Microsoft\AndroidNDK64\android-ndk-r16b
|
||||
ANDROID_NDK_PATH: C:\Microsoft\AndroidNDK64\android-ndk-r16b
|
||||
|
|
|
@ -7,9 +7,9 @@ mode: Mainline
|
|||
# next-version: 3.0
|
||||
|
||||
branches:
|
||||
master:
|
||||
main:
|
||||
mode: ContinuousDeployment
|
||||
regex: master
|
||||
regex: main
|
||||
tag: dev
|
||||
increment: Minor
|
||||
is-source-branch-for: ['beta', 'stable']
|
||||
|
@ -26,32 +26,32 @@ branches:
|
|||
regex: ^release/beta/.*
|
||||
tag: beta
|
||||
increment: none
|
||||
source-branches: ['master']
|
||||
source-branches: ['main']
|
||||
|
||||
stable:
|
||||
regex: ^release/stable/.*
|
||||
tag: ''
|
||||
increment: Patch
|
||||
source-branches: ['master','beta']
|
||||
source-branches: ['main','beta']
|
||||
is-mainline: true
|
||||
|
||||
dev:
|
||||
mode: ContinuousDeployment
|
||||
regex: ^dev/.*?/(.*?)
|
||||
tag: dev.{BranchName}
|
||||
source-branches: ['master', 'stable', 'projects', 'feature']
|
||||
source-branches: ['main', 'stable', 'projects', 'feature']
|
||||
increment: none
|
||||
|
||||
projects:
|
||||
tag: proj-{BranchName}
|
||||
regex: ^projects/(.*?)
|
||||
source-branches: ['master']
|
||||
source-branches: ['main']
|
||||
increment: none
|
||||
|
||||
feature:
|
||||
tag: feature.{BranchName}
|
||||
regex: ^feature/(.*?)
|
||||
source-branches: ['master']
|
||||
source-branches: ['main']
|
||||
increment: none
|
||||
|
||||
release:
|
||||
|
|
Загрузка…
Ссылка в новой задаче