The Free Software Media System - Server Backend & API
Update branch checks from azure-ci to master
Joshua M. Boniface2506feb5449e
diff --git a/.ci/azure-pipelines-package.yml b/.ci/azure-pipelines-package.ymlindex b501292773..b342531903 100644--- a/.ci/azure-pipelines-package.yml+++ b/.ci/azure-pipelines-package.yml@@ -35,11 +35,11 @@ jobs:steps:- script: 'docker build -f deployment/Dockerfile.$(BuildConfiguration) -t jellyfin-server-$(BuildConfiguration) deployment'displayName: 'Build Dockerfile'- condition: or(startsWith(variables['Build.SourceBranch'], 'refs/tags'), startsWith(variables['Build.SourceBranch'], 'refs/heads/azure-ci'))+ condition: or(startsWith(variables['Build.SourceBranch'], 'refs/tags'), 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="yes" -e BUILD_ID=$(Build.BuildNumber) jellyfin-server-$(BuildConfiguration)'displayName: 'Run Dockerfile (unstable)'- condition: startsWith(variables['Build.SourceBranch'], 'refs/heads/azure-ci')+ 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-server-$(BuildConfiguration)'displayName: 'Run Dockerfile (stable)'@@ -47,14 +47,14 @@ jobs:- task: PublishPipelineArtifact@1displayName: 'Publish Release'- condition: or(startsWith(variables['Build.SourceBranch'], 'refs/tags'), startsWith(variables['Build.SourceBranch'], 'refs/heads/azure-ci'))+ condition: or(startsWith(variables['Build.SourceBranch'], 'refs/tags'), startsWith(variables['Build.SourceBranch'], 'refs/heads/master'))inputs:targetPath: '$(Build.SourcesDirectory)/deployment/dist'artifactName: 'jellyfin-server-$(BuildConfiguration)'- task: CopyFilesOverSSH@0displayName: 'Upload artifacts to repository server'- condition: or(startsWith(variables['Build.SourceBranch'], 'refs/tags'), startsWith(variables['Build.SourceBranch'], 'refs/heads/azure-ci'))+ condition: or(startsWith(variables['Build.SourceBranch'], 'refs/tags'), startsWith(variables['Build.SourceBranch'], 'refs/heads/master'))inputs:sshEndpoint: repositorysourceFolder: '$(Build.SourcesDirectory)/deployment/dist'@@ -79,7 +79,7 @@ jobs:steps:- task: Docker@2displayName: 'Push Unstable Image'- condition: startsWith(variables['Build.SourceBranch'], 'refs/heads/azure-ci')+ condition: startsWith(variables['Build.SourceBranch'], 'refs/heads/master')inputs:repository: 'jellyfin/jellyfin-server'command: buildAndPush@@ -116,7 +116,7 @@ jobs:steps:- task: SSH@0displayName: 'Update Unstable Repository'- condition: startsWith(variables['Build.SourceBranch'], 'refs/heads/azure-ci')+ condition: startsWith(variables['Build.SourceBranch'], 'refs/heads/master')inputs:sshEndpoint: repositoryrunOptions: 'inline'