From c65b02c3c83afaeaea756b2454498066acd5b5fa Mon Sep 17 00:00:00 2001 From: dotasek Date: Wed, 1 Feb 2023 13:40:03 -0500 Subject: [PATCH] Update echo reference and fix publish ref --- release-branch-pipeline.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/release-branch-pipeline.yml b/release-branch-pipeline.yml index 8f8dc8bcd..5e49cc660 100644 --- a/release-branch-pipeline.yml +++ b/release-branch-pipeline.yml @@ -39,14 +39,14 @@ jobs: # version Write-Host $pomXml.project.version $VERSION=$pomXml.project.version - Write-Host "##vso[task.setvariable variable=version_from_pom;]$VERSION" + Write-Host "##vso[task.setvariable variable=version_from_pom;isOutput=true;]$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_from_pom) + echo Pulled version from pom.xml => $(setOutput.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 @@ -125,7 +125,7 @@ jobs: timeoutInMinutes: 5 dependsOn: ['buildaroni'] variables: - version_from_pom: $[ dependencies.buildaroni.outputs['setVariable.version_from_pom'] ] + version_from_pom: $[ dependencies.get_release_version.outputs['passOutput.version_from_pom'] ] steps: # Publishes the built Validator jar to build artifacts. Primarily for testing and debugging builds. - task: PublishPipelineArtifact@1