update pipeline to only build on merge into release branches or (now previous standard 2.4-pr)
This commit is contained in:
parent
01198b66ea
commit
e737d990e9
@ -3,8 +3,15 @@
|
|||||||
# Add steps that publish symbols, save build artifacts, deploy, and more:
|
# Add steps that publish symbols, save build artifacts, deploy, and more:
|
||||||
# https://docs.microsoft.com/azure/devops/pipelines/apps/aspnet/build-aspnet-4
|
# https://docs.microsoft.com/azure/devops/pipelines/apps/aspnet/build-aspnet-4
|
||||||
|
|
||||||
trigger:
|
pr:
|
||||||
- '2.4-pr'
|
branches:
|
||||||
|
include:
|
||||||
|
- releases/*
|
||||||
|
- 2.4-pr
|
||||||
|
paths:
|
||||||
|
exclude:
|
||||||
|
- azure-pipelines.yml
|
||||||
|
- Master/*
|
||||||
|
|
||||||
pool:
|
pool:
|
||||||
vmImage: 'windows-latest'
|
vmImage: 'windows-latest'
|
||||||
@ -150,7 +157,7 @@ steps:
|
|||||||
targetType: 'inline'
|
targetType: 'inline'
|
||||||
script: |
|
script: |
|
||||||
$payload = @{
|
$payload = @{
|
||||||
'current-version-prerelease' = '$(VersionInformation.Major).$(VersionInformation.Minor).$(VersionInformation.Build).0'
|
'current-version-prerelease' = '$(VersionInformation.Major).$(VersionInformation.Minor).$(VersionInformation.Build).$(Build.BuildId)'
|
||||||
'jwt-secret' = '$(JWTSecret)'
|
'jwt-secret' = '$(JWTSecret)'
|
||||||
} | ConvertTo-Json
|
} | ConvertTo-Json
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user