Update release-branch-pipeline.yml for Azure Pipelines

This commit is contained in:
Mark Iantorno 2023-02-01 13:26:31 -05:00
parent f06d7cdbc1
commit db16bad13d
1 changed files with 3 additions and 3 deletions

View File

@ -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