mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2024-12-27 03:06:10 +00:00
Merge pull request #392 from mcarlton00/azure-can-bite-my-shiny-metal-ass
Fix the pipeline. Again.
This commit is contained in:
commit
91f1f79364
2 changed files with 12 additions and 4 deletions
|
@ -23,16 +23,17 @@ steps:
|
||||||
cleanTargetFolder: true
|
cleanTargetFolder: true
|
||||||
contents: |
|
contents: |
|
||||||
**/*
|
**/*
|
||||||
!**/.ci/*
|
!.ci/*
|
||||||
!**/.config/*
|
!.config/*
|
||||||
!**/.git**
|
!.git/**/*
|
||||||
|
!.github/*
|
||||||
TargetFolder: '$(Build.ArtifactStagingDirectory)/plugin.video.jellyfin'
|
TargetFolder: '$(Build.ArtifactStagingDirectory)/plugin.video.jellyfin'
|
||||||
|
|
||||||
- task: ArchiveFiles@2
|
- task: ArchiveFiles@2
|
||||||
displayName: 'Create ${{ py_version }} zip file'
|
displayName: 'Create ${{ py_version }} zip file'
|
||||||
inputs:
|
inputs:
|
||||||
rootFolderOrFile: '$(Build.ArtifactStagingDirectory)/plugin.video.jellyfin'
|
rootFolderOrFile: '$(Build.ArtifactStagingDirectory)/plugin.video.jellyfin'
|
||||||
includeRootFolder: False
|
includeRootFolder: True
|
||||||
archiveType: 'zip'
|
archiveType: 'zip'
|
||||||
tarCompression: 'none'
|
tarCompression: 'none'
|
||||||
archiveFile: '$(Build.ArtifactStagingDirectory)/plugin.video.jellyfin-${{ py_version }}.zip'
|
archiveFile: '$(Build.ArtifactStagingDirectory)/plugin.video.jellyfin-${{ py_version }}.zip'
|
||||||
|
|
|
@ -17,3 +17,10 @@ steps:
|
||||||
sshEndpoint: repository
|
sshEndpoint: repository
|
||||||
runOptions: 'commands'
|
runOptions: 'commands'
|
||||||
commands: 'python3 /usr/local/bin/kodirepo add /srv/repository/incoming/kodi/plugin.video.jellyfin-${{ py_version }}.zip --datadir /srv/repository/releases/client/kodi/${{ py_version }}'
|
commands: 'python3 /usr/local/bin/kodirepo add /srv/repository/incoming/kodi/plugin.video.jellyfin-${{ py_version }}.zip --datadir /srv/repository/releases/client/kodi/${{ py_version }}'
|
||||||
|
|
||||||
|
- task: SSH@0
|
||||||
|
displayName: 'Clean up zip files'
|
||||||
|
inputs:
|
||||||
|
sshEndpoint: repository
|
||||||
|
runOptions: 'commands'
|
||||||
|
commands: 'rm /srv/repository/incoming/kodi/plugin.video.jellyfin-${{ py_version }}.zip'
|
||||||
|
|
Loading…
Reference in a new issue