1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

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:
Joshua M. Boniface 2020-07-28 00:21:30 -04:00
parent f9f71422b3
commit d4bf69e6bb

View file

@ -64,7 +64,7 @@ jobs:
value: 0.0.0 value: 0.0.0
steps: 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) displayName: Set release version (stable)
condition: startsWith(variables['Build.SourceBranch'], 'refs/tags') condition: startsWith(variables['Build.SourceBranch'], 'refs/tags')