Skip to content

The Free Software Media System - Server Backend & API

Flip quoting in variable set command

Joshua M. Boniface2d8d3ba826f6
diff --git a/.ci/azure-pipelines-package.yml b/.ci/azure-pipelines-package.yml
index 64d40e7f5f..1677f71c75 100644
--- a/.ci/azure-pipelines-package.yml
+++ b/.ci/azure-pipelines-package.yml
@@ -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')