diff options
author | Joshua M. Boniface <joshua@boniface.me> | 2024-02-22 22:56:17 -0500 |
---|---|---|
committer | Joshua M. Boniface <joshua@boniface.me> | 2024-02-22 22:56:17 -0500 |
commit | acc40dfb806f3266776324aacd346f05760af2f1 (patch) | |
tree | 810ec9f65681b7900b7ad31a5ad52aef1700869f /.github | |
parent | Update repository paths to main (diff) | |
download | jellyfin-packaging-acc40dfb806f3266776324aacd346f05760af2f1.tar.gz jellyfin-packaging-acc40dfb806f3266776324aacd346f05760af2f1.tar.bz2 jellyfin-packaging-acc40dfb806f3266776324aacd346f05760af2f1.zip |
Update repository paths to remove releases
Makes compatibility easier
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/release-build.yaml | 36 |
1 files changed, 18 insertions, 18 deletions
diff --git a/.github/workflows/release-build.yaml b/.github/workflows/release-build.yaml index f291b20..47ac88a 100644 --- a/.github/workflows/release-build.yaml +++ b/.github/workflows/release-build.yaml @@ -133,10 +133,10 @@ jobs: debug: false script_stop: false script: | - sudo mkdir -p /srv/repository/main/releases/server/debian/versions/${{ env.JELLYFIN_VERSION }}/${{ matrix.arch }} || exit 1 - sudo mv -t /srv/repository/main/releases/server/debian/versions/${{ env.JELLYFIN_VERSION }}/${{ matrix.arch }}/ /srv/incoming/${{ env.JELLYFIN_VERSION }}/debian/${{ matrix.arch }}/${{ matrix.release }}/* || exit 1 + sudo mkdir -p /srv/repository/main/server/debian/versions/${{ env.JELLYFIN_VERSION }}/${{ matrix.arch }} || exit 1 + sudo mv -t /srv/repository/main/server/debian/versions/${{ env.JELLYFIN_VERSION }}/${{ matrix.arch }}/ /srv/incoming/${{ env.JELLYFIN_VERSION }}/debian/${{ matrix.arch }}/${{ matrix.release }}/* || exit 1 if [[ ${{ inputs.version }} != "master" ]]; then - sudo ln -s /srv/repository/main/releases/server/debian/versions/${{ env.JELLYFIN_VERSION }}/${{ matrix.arch }} /srv/repository/main/releases/server/debian/latest-server || exit 1 + sudo ln -s /srv/repository/main/server/debian/versions/${{ env.JELLYFIN_VERSION }}/${{ matrix.arch }} /srv/repository/main/server/debian/latest-server || exit 1 fi Ubuntu: @@ -220,10 +220,10 @@ jobs: debug: false script_stop: false script: | - sudo mkdir -p /srv/repository/main/releases/server/ubuntu/versions/${{ env.JELLYFIN_VERSION }}/${{ matrix.arch }} || exit 1 - sudo mv -t /srv/repository/main/releases/server/ubuntu/versions/${{ env.JELLYFIN_VERSION }}/${{ matrix.arch }} /srv/incoming/${{ env.JELLYFIN_VERSION }}/ubuntu/${{ matrix.arch }}/${{ matrix.release }}/* || exit 1 + sudo mkdir -p /srv/repository/main/server/ubuntu/versions/${{ env.JELLYFIN_VERSION }}/${{ matrix.arch }} || exit 1 + sudo mv -t /srv/repository/main/server/ubuntu/versions/${{ env.JELLYFIN_VERSION }}/${{ matrix.arch }} /srv/incoming/${{ env.JELLYFIN_VERSION }}/ubuntu/${{ matrix.arch }}/${{ matrix.release }}/* || exit 1 if [[ ${{ inputs.version }} != "master" ]]; then - sudo ln -s /srv/repository/main/releases/server/ubuntu/versions/${{ env.JELLYFIN_VERSION }}/${{ matrix.arch }} /srv/repository/main/releases/server/ubuntu/latest-server || exit 1 + sudo ln -s /srv/repository/main/server/ubuntu/versions/${{ env.JELLYFIN_VERSION }}/${{ matrix.arch }} /srv/repository/main/server/ubuntu/latest-server || exit 1 fi Linux: @@ -281,10 +281,10 @@ jobs: debug: false script_stop: true script: | - sudo mkdir -p /srv/repository/main/releases/server/linux/versions/${{ env.JELLYFIN_VERSION }}/${{ matrix.arch }} - sudo mv -t /srv/repository/main/releases/server/linux/versions/${{ env.JELLYFIN_VERSION }}/${{ matrix.arch }} /srv/incoming/${{ env.JELLYFIN_VERSION }}/linux/${{ matrix.arch }}/* + sudo mkdir -p /srv/repository/main/server/linux/versions/${{ env.JELLYFIN_VERSION }}/${{ matrix.arch }} + sudo mv -t /srv/repository/main/server/linux/versions/${{ env.JELLYFIN_VERSION }}/${{ matrix.arch }} /srv/incoming/${{ env.JELLYFIN_VERSION }}/linux/${{ matrix.arch }}/* if [[ ${{ inputs.version }} != "master" ]]; then - sudo ln -s /srv/repository/main/releases/server/linux/versions/${{ env.JELLYFIN_VERSION }}/${{ matrix.arch }} /srv/repository/main/releases/server/linux/latest-server + sudo ln -s /srv/repository/main/server/linux/versions/${{ env.JELLYFIN_VERSION }}/${{ matrix.arch }} /srv/repository/main/server/linux/latest-server fi Windows: @@ -339,10 +339,10 @@ jobs: debug: false script_stop: true script: | - sudo mkdir -p /srv/repository/main/releases/server/windows/versions/${{ env.JELLYFIN_VERSION }}/${{ matrix.arch }} - sudo mv -t /srv/repository/main/releases/server/windows/versions/${{ env.JELLYFIN_VERSION }}/${{ matrix.arch }} /srv/incoming/${{ env.JELLYFIN_VERSION }}/windows/${{ matrix.arch }}/* + sudo mkdir -p /srv/repository/main/server/windows/versions/${{ env.JELLYFIN_VERSION }}/${{ matrix.arch }} + sudo mv -t /srv/repository/main/server/windows/versions/${{ env.JELLYFIN_VERSION }}/${{ matrix.arch }} /srv/incoming/${{ env.JELLYFIN_VERSION }}/windows/${{ matrix.arch }}/* if [[ ${{ inputs.version }} != "master" ]]; then - sudo ln -s /srv/repository/main/releases/server/windows/versions/${{ env.JELLYFIN_VERSION }}/${{ matrix.arch }} /srv/repository/main/releases/server/windows/latest-server + sudo ln -s /srv/repository/main/server/windows/versions/${{ env.JELLYFIN_VERSION }}/${{ matrix.arch }} /srv/repository/main/server/windows/latest-server fi MacOS: @@ -397,10 +397,10 @@ jobs: debug: false script_stop: true script: | - sudo mkdir -p /srv/repository/main/releases/server/macos/versions/${{ env.JELLYFIN_VERSION }}/${{ matrix.arch }} - sudo mv -t /srv/repository/main/releases/server/macos/versions/${{ env.JELLYFIN_VERSION }}/${{ matrix.arch }} /srv/incoming/${{ env.JELLYFIN_VERSION }}/macos/${{ matrix.arch }}/* + sudo mkdir -p /srv/repository/main/server/macos/versions/${{ env.JELLYFIN_VERSION }}/${{ matrix.arch }} + sudo mv -t /srv/repository/main/server/macos/versions/${{ env.JELLYFIN_VERSION }}/${{ matrix.arch }} /srv/incoming/${{ env.JELLYFIN_VERSION }}/macos/${{ matrix.arch }}/* if [[ ${{ inputs.version }} != "master" ]]; then - sudo ln -s /srv/repository/main/releases/server/macos/versions/${{ env.JELLYFIN_VERSION }}/${{ matrix.arch }} /srv/repository/main/releases/server/macos/latest-server + sudo ln -s /srv/repository/main/server/macos/versions/${{ env.JELLYFIN_VERSION }}/${{ matrix.arch }} /srv/repository/main/server/macos/latest-server fi Portable: @@ -450,9 +450,9 @@ jobs: debug: false script_stop: true script: | - sudo mkdir -p /srv/repository/main/releases/server/portable/versions/${{ env.JELLYFIN_VERSION }} - sudo mv -t /srv/repository/main/releases/server/portable/versions/${{ env.JELLYFIN_VERSION }} /srv/incoming/${{ env.JELLYFIN_VERSION }}/portable/* + sudo mkdir -p /srv/repository/main/server/portable/versions/${{ env.JELLYFIN_VERSION }} + sudo mv -t /srv/repository/main/server/portable/versions/${{ env.JELLYFIN_VERSION }} /srv/incoming/${{ env.JELLYFIN_VERSION }}/portable/* if [[ ${{ inputs.version }} != "master" ]]; then - sudo ln -s /srv/repository/main/releases/server/portable/versions/${{ env.JELLYFIN_VERSION }} /srv/repository/main/releases/server/portable/latest-server + sudo ln -s /srv/repository/main/server/portable/versions/${{ env.JELLYFIN_VERSION }} /srv/repository/main/server/portable/latest-server fi |