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