From 66885ed8019a33411d477d3df7d120ef8b4f06a1 Mon Sep 17 00:00:00 2001 From: Mark Iantorno Date: Wed, 1 Feb 2023 13:16:26 -0500 Subject: [PATCH] Update release-branch-pipeline.yml for Azure Pipelines --- 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 942fd2628..2278a9308 100644 --- a/release-branch-pipeline.yml +++ b/release-branch-pipeline.yml @@ -38,8 +38,8 @@ jobs: [xml]$pomXml = Get-Content -Path .\pom.xml # version Write-Host $pomXml.project.version - $version_from_pom=$pomXml.project.version - Write-Host "##vso[task.setvariable variable=version_from_pom;isOutput=true]$version_from_pom" + $VERSION=$pomXml.project.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 @@ -58,7 +58,7 @@ jobs: echo $(version_from_pom) VERSION=$(version_from_pom) echo "$VERSION" > $(System.DefaultWorkingDirectory)/VERSION - displayName: Debug print release version + displayName: Save Release Version to File - task: CopyFiles@2 # Copies the VERSION file containing the build id (ex: 1.1.13-SNAPSHOT) to the staging directory # This is done for release versions only.