use setOutput. in other version_from_pom locations

This commit is contained in:
dotasek 2023-02-01 13:44:27 -05:00
parent c65b02c3c8
commit f8c183cf5d
1 changed files with 2 additions and 2 deletions

View File

@ -55,8 +55,8 @@ jobs:
inputs: inputs:
targetType: 'inline' targetType: 'inline'
script: | script: |
echo $(version_from_pom) echo $(setOutput.version_from_pom)
VERSION=$(version_from_pom) VERSION=$(setOutput.version_from_pom)
echo "$VERSION" > $(System.DefaultWorkingDirectory)/VERSION) echo "$VERSION" > $(System.DefaultWorkingDirectory)/VERSION)
displayName: Save Release Version to File displayName: Save Release Version to File
- task: CopyFiles@2 - task: CopyFiles@2