mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-11-15 18:08:53 -07: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:
parent
0798ab3945
commit
2d8d3ba826
@ -85,7 +85,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…
Reference in New Issue
Block a user