Flip quoting in variable set command
The quoting as-is was broken and would result in a junk output. This way, the proper value is obtained.
This commit is contained in:
parent
f9f71422b3
commit
d4bf69e6bb
1 changed files with 1 additions and 1 deletions
|
@ -64,7 +64,7 @@ jobs:
|
|||
value: 0.0.0
|
||||
|
||||
steps:
|
||||
- script: echo '##vso[task.setvariable variable=JellyfinVersion]$( awk -F "/" "{ print $NF }" <<<"$(Build.SourceBranch)" | sed "s/^v//" )'
|
||||
- script: echo "##vso[task.setvariable variable=JellyfinVersion]$( awk -F '/' '{ print $NF }' <<<'$(Build.SourceBranch)' | sed 's/^v//' )"
|
||||
displayName: Set release version (stable)
|
||||
condition: startsWith(variables['Build.SourceBranch'], 'refs/tags')
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue