Update release-branch-pipeline.yml for Azure Pipelines

This commit is contained in:
Mark Iantorno 2023-02-01 13:29:47 -05:00
parent db16bad13d
commit 621c639128
1 changed files with 2 additions and 2 deletions

View File

@ -39,14 +39,14 @@ jobs:
# version
Write-Host $pomXml.project.version
$VERSION=$pomXml.project.version
Write-Host "##vso[task.setvariable variable=version_from_pom;isOutput=true;]$VERSION"
Write-Host "##vso[task.setvariable variable=version_from_pom;]$VERSION"
displayName: Save pom file version to local variable.
- task: Bash@3
# Prints out the build version, for debugging purposes
inputs:
targetType: 'inline'
script: |
echo Pulled version from pom.xml => $VERSION
echo Pulled version from pom.xml => $(version_from_pom)
displayName: Debug print release version
- task: Bash@3
# Azure pipelines cannot pass variables between pipelines, but it can pass files, so we