From 412fabdfe61c34bbabdcd8d2a45de1980f9faf4a Mon Sep 17 00:00:00 2001 From: Anthony Lavado Date: Mon, 6 May 2024 11:15:27 -0400 Subject: [PATCH] Delete .ci directory --- .ci/azure-pipelines.yml | 103 ---------------------------------------- 1 file changed, 103 deletions(-) delete mode 100644 .ci/azure-pipelines.yml diff --git a/.ci/azure-pipelines.yml b/.ci/azure-pipelines.yml deleted file mode 100644 index 5cf07f2..0000000 --- a/.ci/azure-pipelines.yml +++ /dev/null @@ -1,103 +0,0 @@ -trigger: - batch: true - branches: - include: - - '*' - tags: - include: - - '*' - -pr: - branches: - include: - - '*' - -variables: - Solution: '**/*.sln' - BuildPlatform: 'x86|x64|ARM|ARM64' - BuildConfiguration: 'Release' - AppxDirectory: '$(Build.ArtifactStagingDirectory)/AppxPackages' - -jobs: -- job: Build - displayName: 'Build' - - pool: - vmImage: 'windows-latest' - - steps: - - task: NuGetToolInstaller@1 - displayName: 'Install Nuget' - - - task: NuGetCommand@2 - displayName: 'Restore Dependencies' - inputs: - restoreSolution: '$(Solution)' - - - task: VSBuild@1 - displayName: 'Build Client' - inputs: - solution: '$(Solution)' - configuration: '$(BuildConfiguration)' - msbuildArgs: '/p:AppxBundlePlatforms="$(BuildPlatform)" /p:AppxPackageDir="$(AppxDirectory)" /p:AppxBundle=Always /p:UapAppxPackageBuildMode=StoreUpload' - - - task: PublishBuildArtifacts@1 - displayName: 'Publish Client' - inputs: - PathtoPublish: '$(Build.ArtifactStagingDirectory)' - ArtifactName: 'jellyfin-uwp' - publishLocation: 'Container' - -- job: Publish - displayName: 'Publish' - - dependsOn: Build - condition: startsWith(variables['Build.SourceBranch'], 'refs/tags') - - pool: - vmImage: 'ubuntu-latest' - - steps: - - script: 'echo "##vso[task.setvariable variable=TAG]$(git describe --tags)"' - displayName: 'Set Tag Variable' - - - task: DownloadPipelineArtifact@2 - displayName: 'Download Binary' - inputs: - source: 'current' - artifact: 'jellyfin-uwp' - path: '$(System.ArtifactsDirectory)' - runVersion: 'latest' - - - task: Bash@3 - displayName: 'Rename Binary' - inputs: - targetType: 'inline' - script: 'mv *.appxupload jellyfin-uwp-${TAG}.appxupload' - workingDirectory: '$(System.ArtifactsDirectory)/AppxPackages' - - - task: GithubRelease@0 - displayName: 'GitHub Upload' - inputs: - gitHubConnection: Jellyfin Release Download - repositoryName: jellyfin/jellyfin-uwp - assets: '$(System.ArtifactsDirectory)/**/*.appxupload' - action: 'edit' - assetUploadMode: 'replace' - tag: '$(TAG)' - - - task: CopyFilesOverSSH@0 - displayName: 'SSH Upload' - inputs: - sshEndpoint: repository - sourceFolder: '$(System.ArtifactsDirectory)' - contents: '**/*.appxupload' - targetFolder: '/srv/repository/releases/client/uwp/versions/$(TAG)' - flattenFolders: true - - - task: SSH@0 - displayName: 'SSH Symlink' - inputs: - sshEndpoint: repository - runOptions: 'inline' - inline: 'cd /srv/repository/releases/client/uwp && rm -rf *.appxupload && ln -s versions/$(TAG)/jellyfin-uwp-$(TAG).appxupload .'