Update release-branch-pipeline.yml for Azure Pipelines

This commit is contained in:
Mark Iantorno 2023-02-01 11:17:21 -05:00
parent eaff7dcf4e
commit cb7f268a07
1 changed files with 3 additions and 3 deletions

View File

@ -46,7 +46,7 @@ jobs:
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
@ -55,8 +55,8 @@ jobs:
inputs: inputs:
targetType: 'inline' targetType: 'inline'
script: | script: |
echo $(version) echo $(version_from_pom)
VERSION=$(version) VERSION=$(version_from_pom)
echo "$VERSION" > $(System.DefaultWorkingDirectory)/VERSION echo "$VERSION" > $(System.DefaultWorkingDirectory)/VERSION
displayName: Debug print release version displayName: Debug print release version
- task: CopyFiles@2 - task: CopyFiles@2