|
|
|
@ -43,10 +43,6 @@ jobs:
|
|
|
|
|
displayName: Set release version (stable)
|
|
|
|
|
condition: startsWith(variables['Build.SourceBranch'], 'refs/tags/v')
|
|
|
|
|
|
|
|
|
|
- script: './bump-version $(JellyfinVersion)'
|
|
|
|
|
displayName: Bump internal version (stable)
|
|
|
|
|
condition: startsWith(variables['Build.SourceBranch'], 'refs/tags/v')
|
|
|
|
|
|
|
|
|
|
- script: 'docker build -f deployment/Dockerfile.$(BuildConfiguration) -t jellyfin-server-$(BuildConfiguration) deployment'
|
|
|
|
|
displayName: 'Build Dockerfile'
|
|
|
|
|
|
|
|
|
@ -92,10 +88,6 @@ jobs:
|
|
|
|
|
displayName: Set release version (stable)
|
|
|
|
|
condition: startsWith(variables['Build.SourceBranch'], 'refs/tags/v')
|
|
|
|
|
|
|
|
|
|
- script: './bump-version $(JellyfinVersion)'
|
|
|
|
|
displayName: Bump internal version (stable)
|
|
|
|
|
condition: startsWith(variables['Build.SourceBranch'], 'refs/tags/v')
|
|
|
|
|
|
|
|
|
|
- task: DownloadPipelineArtifact@2
|
|
|
|
|
displayName: 'Download OpenAPI Spec'
|
|
|
|
|
inputs:
|
|
|
|
@ -143,10 +135,6 @@ jobs:
|
|
|
|
|
displayName: Set release version (stable)
|
|
|
|
|
condition: startsWith(variables['Build.SourceBranch'], 'refs/tags/v')
|
|
|
|
|
|
|
|
|
|
- script: './bump-version $(JellyfinVersion)'
|
|
|
|
|
displayName: Bump internal version (stable)
|
|
|
|
|
condition: startsWith(variables['Build.SourceBranch'], 'refs/tags/v')
|
|
|
|
|
|
|
|
|
|
- task: Docker@2
|
|
|
|
|
displayName: 'Push Unstable Image'
|
|
|
|
|
condition: startsWith(variables['Build.SourceBranch'], 'refs/heads/master')
|
|
|
|
|