aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid <daullmer@gmail.com>2021-01-05 23:01:46 +0100
committerGitHub <noreply@github.com>2021-01-05 23:01:46 +0100
commit989c6dcffa57f0c85d9050d4f9a1de070aa81566 (patch)
tree10d5e18a15791a9519927756554de2502176d341
parentf154c0dfad7b587c7540a5dc280b01f599a708d1 (diff)
Update azure-pipelines-package.yml
-rw-r--r--.ci/azure-pipelines-package.yml6
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')