From db16bad13daa4d25467ba2f780c3435a245ddd42 Mon Sep 17 00:00:00 2001 From: Mark Iantorno Date: Wed, 1 Feb 2023 13:26:31 -0500 Subject: [PATCH] Update release-branch-pipeline.yml for Azure Pipelines --- release-branch-pipeline.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/release-branch-pipeline.yml b/release-branch-pipeline.yml index 31f21941d..d072bf756 100644 --- a/release-branch-pipeline.yml +++ b/release-branch-pipeline.yml @@ -46,7 +46,7 @@ jobs: inputs: targetType: 'inline' script: | - echo Pulled version from pom.xml => $(VERSION) + echo Pulled version from pom.xml => $VERSION displayName: Debug print release version - task: Bash@3 # Azure pipelines cannot pass variables between pipelines, but it can pass files, so we @@ -75,8 +75,8 @@ jobs: inputs: targetType: 'inline' script: | - $branch_name = '$(Build.SourceBranchName)' - Write-Host "##vso[task.setvariable variable=branch_name]$branch_name" + $BRANCH = '$(Build.SourceBranchName)' + Write-Host "##vso[task.setvariable variable=branch_name]$BRANCH" displayName: Save branch name to local variable. - task: Bash@3 # Prints out the branch name, for debugging purposes