Add rel* branches to upload training packages to final storage (#13124)

This commit is contained in:
Baiju Meswani 2022-09-27 17:20:17 -07:00 committed by GitHub
parent 9a44a69653
commit f99d00fa38
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -57,7 +57,7 @@ stages:
variables:
- name: isMain
value: ${{ eq(variables['Build.SourceBranch'], 'refs/heads/main') }}
value: ${{ or(eq(variables['Build.SourceBranch'], 'refs/heads/main'), startsWith(variables['Build.SourceBranch'], 'refs/heads/rel-')) }}
- name: finalStorage
${{ if eq(variables['isMain'], 'true') }}:
value: '--final_storage'