Update release-branch-pipeline.yml for Azure Pipelines
This commit is contained in:
parent
f06d7cdbc1
commit
db16bad13d
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue