Update azure-pipelines-package.yml

pull/4911/head
David 3 years ago committed by GitHub
parent f154c0dfad
commit 989c6dcffa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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')

Loading…
Cancel
Save