1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

Update conditionals to final values (master+tag)

This commit is contained in:
Joshua M. Boniface 2020-06-12 18:18:11 -04:00
parent 7a5065ba27
commit e43bb09d60

View file

@ -22,11 +22,11 @@ jobs:
- script: 'docker image ls -a && docker run -v $(pwd)/deployment/dist:/dist -v $(pwd):/jellyfin -e IS_UNSTABLE="yes" -e BUILD_ID=$(Build.BuildNumber) jellyfin-web-$(BuildConfiguration)'
displayName: 'Run Dockerfile (unstable)'
condition: eq(variables['Build.SourceBranch'], 'refs/heads/package')
condition: startsWith(variables['Build.SourceBranch'], 'refs/heads/master')
- script: 'docker image ls -a && docker run -v $(pwd)/deployment/dist:/dist -v $(pwd):/jellyfin -e IS_UNSTABLE="no" -e BUILD_ID=$(Build.BuildNumber) jellyfin-web-$(BuildConfiguration)'
displayName: 'Run Dockerfile (stable)'
condition: ne(variables['Build.SourceBranch'], 'refs/heads/package')
condition: startsWith(variables['Build.SourceBranch'], 'refs/tags')
- task: PublishPipelineArtifact@1
displayName: 'Publish Release'
@ -51,7 +51,7 @@ jobs:
steps:
- task: SSH@0
displayName: 'Collect packages into repositories (unstable)'
condition: eq(variables['Build.SourceBranch'], 'refs/heads/package')
condition: startsWith(variables['Build.SourceBranch'], 'refs/heads/master')
inputs:
sshEndpoint: repository
runOptions: 'inline'
@ -59,7 +59,7 @@ jobs:
- task: SSH@0
displayName: 'Collect packages into repositories (stable)'
condition: ne(variables['Build.SourceBranch'], 'refs/heads/package')
condition: startsWith(variables['Build.SourceBranch'], 'refs/tags')
inputs:
sshEndpoint: repository
runOptions: 'inline'