mirror of
https://github.com/digital-asset/daml.git
synced 2024-11-10 00:35:25 +03:00
fix daily snapshot for 2.x (#18123)
This commit is contained in:
parent
2a77ae5d0d
commit
e67f988baf
@ -15,8 +15,9 @@ jobs:
|
||||
pool:
|
||||
name: macOS-pool
|
||||
demands: assignment -equals ${{parameters.assignment}}
|
||||
condition: or(eq('${{parameters.name}}', 'macos'),
|
||||
eq(variables['Build.SourceBranchName'], 'main'))
|
||||
condition: and(succeeded(),
|
||||
or(eq('${{parameters.name}}', 'macos'),
|
||||
eq(variables['Build.SourceBranchName'], 'main')))
|
||||
variables:
|
||||
- name: release_sha
|
||||
value: $[ dependencies.check_for_release.outputs['out.release_sha'] ]
|
||||
|
@ -102,7 +102,7 @@ fi
|
||||
|
||||
commit_belongs_to_release_branch() {
|
||||
git branch --all --format='%(refname:short)' --contains="$1" \
|
||||
| grep -q -E '^origin/(main$|release/)'
|
||||
| grep -q -E '^origin/(main$|main-2\.x$|release/)'
|
||||
}
|
||||
|
||||
case $1 in
|
||||
|
Loading…
Reference in New Issue
Block a user