diff options
| author | David <daullmer@gmail.com> | 2021-01-05 23:01:46 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-01-05 23:01:46 +0100 |
| commit | 989c6dcffa57f0c85d9050d4f9a1de070aa81566 (patch) | |
| tree | 10d5e18a15791a9519927756554de2502176d341 /.ci/azure-pipelines-package.yml | |
| parent | f154c0dfad7b587c7540a5dc280b01f599a708d1 (diff) | |
Update azure-pipelines-package.yml
Diffstat (limited to '.ci/azure-pipelines-package.yml')
| -rw-r--r-- | .ci/azure-pipelines-package.yml | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/.ci/azure-pipelines-package.yml b/.ci/azure-pipelines-package.yml index 9ddd73e19..20f4dfe33 100644 --- a/.ci/azure-pipelines-package.yml +++ b/.ci/azure-pipelines-package.yml @@ -195,7 +195,7 @@ jobs: variables: - name: JellyfinVersion - value: 0.0.0 + value: $[replace(variables['Build.SourceBranch'],'refs/tags/v','')] steps: - task: UseDotNet@2 @@ -204,10 +204,6 @@ jobs: packageType: 'sdk' version: '5.0.x' - - 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/v') - - task: DotNetCoreCLI@2 displayName: 'Build Stable Nuget packages' condition: startsWith(variables['Build.SourceBranch'], 'refs/tags/v') |
