Skip to content

Commit a222d68

Browse files
authored
Fix syntax to run OneLoc in CI builds (Attempt 2) (#6859)
1 parent 35acdc7 commit a222d68

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

eng/pipelines/templates/pipeline.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ stages:
8484
LclSource: lclFilesfromPackage
8585
LclPackageId: 'LCL-JUNO-PROD-NuGetClient'
8686
MirrorRepo: 'NuGet.Client'
87-
MirrorBranch: $[ variables['SourceBranch'] ]
87+
MirrorBranch: ${{ replace(variables['Build.SourceBranch'], 'refs/heads/', '') }}
8888
GitHubOrg: 'NuGet'
8989

9090
- stage: StaticSourceAnalysis

0 commit comments

Comments
 (0)