Update release-branch-pipeline.yml for Azure Pipelines
This commit is contained in:
parent
db16bad13d
commit
621c639128
|
@ -39,14 +39,14 @@ jobs:
|
||||||
# version
|
# version
|
||||||
Write-Host $pomXml.project.version
|
Write-Host $pomXml.project.version
|
||||||
$VERSION=$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.
|
displayName: Save pom file version to local variable.
|
||||||
- task: Bash@3
|
- task: Bash@3
|
||||||
# Prints out the build version, for debugging purposes
|
# Prints out the build version, for debugging purposes
|
||||||
inputs:
|
inputs:
|
||||||
targetType: 'inline'
|
targetType: 'inline'
|
||||||
script: |
|
script: |
|
||||||
echo Pulled version from pom.xml => $VERSION
|
echo Pulled version from pom.xml => $(version_from_pom)
|
||||||
displayName: Debug print release version
|
displayName: Debug print release version
|
||||||
- task: Bash@3
|
- task: Bash@3
|
||||||
# Azure pipelines cannot pass variables between pipelines, but it can pass files, so we
|
# Azure pipelines cannot pass variables between pipelines, but it can pass files, so we
|
||||||
|
|
Loading…
Reference in New Issue