diff options
author | Joshua M. Boniface <joshua@boniface.me> | 2024-02-12 02:12:18 -0500 |
---|---|---|
committer | Joshua M. Boniface <joshua@boniface.me> | 2024-02-12 02:12:18 -0500 |
commit | 7455bb8130e346a86d57faa248ffd7bbc25918d8 (patch) | |
tree | 9bfd183e11ec307c32d1009cac3d243485f3e104 /.github/workflows/release-build.yaml | |
parent | Use explicit dated versions for unstable builds (diff) | |
download | jellyfin-packaging-7455bb8130e346a86d57faa248ffd7bbc25918d8.tar.gz jellyfin-packaging-7455bb8130e346a86d57faa248ffd7bbc25918d8.tar.bz2 jellyfin-packaging-7455bb8130e346a86d57faa248ffd7bbc25918d8.zip |
Use input version for comparisons
Diffstat (limited to '.github/workflows/release-build.yaml')
-rw-r--r-- | .github/workflows/release-build.yaml | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/.github/workflows/release-build.yaml b/.github/workflows/release-build.yaml index 87a783b..a9698a6 100644 --- a/.github/workflows/release-build.yaml +++ b/.github/workflows/release-build.yaml @@ -61,7 +61,7 @@ jobs: key: "${{ secrets.REPO_KEY }}" script: | set -o xtrace - if [[ ${{ steps.version.outputs.version }} != "master" ]]; then + if [[ ${{ inputs.version }} != "master" ]]; then COMPONENT="main" else COMPONENT="unstable" @@ -78,7 +78,7 @@ jobs: script: | sudo mkdir -p /srv/repository/mirror/releases/server/debian/versions/${{ steps.version.outputs.version }}/${{ matrix.arch }} sudo mv -t /srv/repository/mirror/releases/server/debian/versions/${{ steps.version.outputs.version }}/${{ matrix.arch }}/ /srv/incoming/${{ steps.version.outputs.version }}/debian/${{ matrix.arch }}/${{ matrix.release }}/* - if [[ ${{ steps.version.outputs.version }} != "master" ]]; then + if [[ ${{ inputs.version }} != "master" ]]; then sudo ln -s /srv/repository/mirror/releases/server/debian/versions/${{ steps.version.outputs.version }}/${{ matrix.arch }} /srv/repository/mirror/releases/server/debian/latest-server fi @@ -132,7 +132,7 @@ jobs: key: "${{ secrets.REPO_KEY }}" script: | set -o xtrace - if [[ ${{ steps.version.outputs.version }} != "master" ]]; then + if [[ ${{ inputs.version }} != "master" ]]; then COMPONENT="main" else COMPONENT="unstable" @@ -149,7 +149,7 @@ jobs: script: | sudo mkdir -p /srv/repository/mirror/releases/server/ubuntu/versions/${{ steps.version.outputs.version }}/${{ matrix.arch }} sudo mv -t /srv/repository/mirror/releases/server/ubuntu/versions/${{ steps.version.outputs.version }}/${{ matrix.arch }} /srv/incoming/${{ steps.version.outputs.version }}/ubuntu/${{ matrix.arch }}/${{ matrix.release }}/* - if [[ ${{ steps.version.outputs.version }} != "master" ]]; then + if [[ ${{ inputs.version }} != "master" ]]; then sudo ln -s /srv/repository/mirror/releases/server/ubuntu/versions/${{ steps.version.outputs.version }}/${{ matrix.arch }} /srv/repository/mirror/releases/server/ubuntu/latest-server fi |