mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-07-09 03:04:24 -04:00
Update azure-pipelines-package.yml
This commit is contained in:
parent
f154c0dfad
commit
989c6dcffa
@ -195,7 +195,7 @@ jobs:
|
|||||||
|
|
||||||
variables:
|
variables:
|
||||||
- name: JellyfinVersion
|
- name: JellyfinVersion
|
||||||
value: 0.0.0
|
value: $[replace(variables['Build.SourceBranch'],'refs/tags/v','')]
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- task: UseDotNet@2
|
- task: UseDotNet@2
|
||||||
@ -204,10 +204,6 @@ jobs:
|
|||||||
packageType: 'sdk'
|
packageType: 'sdk'
|
||||||
version: '5.0.x'
|
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
|
- task: DotNetCoreCLI@2
|
||||||
displayName: 'Build Stable Nuget packages'
|
displayName: 'Build Stable Nuget packages'
|
||||||
condition: startsWith(variables['Build.SourceBranch'], 'refs/tags/v')
|
condition: startsWith(variables['Build.SourceBranch'], 'refs/tags/v')
|
||||||
|
Loading…
x
Reference in New Issue
Block a user