diff options
| author | Joshua M. Boniface <joshua@boniface.me> | 2020-07-28 00:21:30 -0400 |
|---|---|---|
| committer | Joshua M. Boniface <joshua@boniface.me> | 2020-07-28 00:21:30 -0400 |
| commit | 2d8d3ba826f62f368e0f6303165ff62db5856645 (patch) | |
| tree | f440935f8b75e6150550e7561134743844823773 | |
| parent | 0798ab3945ad982d68b2e17a6467ce31f9a0e061 (diff) | |
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.
| -rw-r--r-- | .ci/azure-pipelines-package.yml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/.ci/azure-pipelines-package.yml b/.ci/azure-pipelines-package.yml index 64d40e7f5..1677f71c7 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') |
