diff options
author | Joshua M. Boniface <joshua@boniface.me> | 2024-03-04 00:33:46 -0500 |
---|---|---|
committer | Joshua M. Boniface <joshua@boniface.me> | 2024-03-04 00:33:46 -0500 |
commit | db3744afcdc150eee66e0ced4e971f24d87c58c3 (patch) | |
tree | ab2df36bbe620cd215a3f8d3653baf95987e1740 | |
parent | Actually fix Mali config (diff) | |
download | jellyfin-packaging-db3744afcdc150eee66e0ced4e971f24d87c58c3.tar.gz jellyfin-packaging-db3744afcdc150eee66e0ced4e971f24d87c58c3.tar.bz2 jellyfin-packaging-db3744afcdc150eee66e0ced4e971f24d87c58c3.zip |
Add default inputs.version of master
Will allow unstable builds to run on a schedule.
-rw-r--r-- | .github/workflows/release-build.yaml | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/.github/workflows/release-build.yaml b/.github/workflows/release-build.yaml index b5c023b..b174444 100644 --- a/.github/workflows/release-build.yaml +++ b/.github/workflows/release-build.yaml @@ -19,7 +19,7 @@ jobs: - name: "Set dated version for unstable builds" id: version run: |- - if grep --silent --extended-regexp '^v[0-9]+' <<< "${{ inputs.version }}"; then + if grep --silent --extended-regexp '^v[0-9]+' <<< "${{ inputs.version || 'master' }}"; then echo "JELLYFIN_VERSION=${{ inputs.version }}" >> $GITHUB_ENV echo "JELLYFIN_RELEASE_TYPE=stable" >> $GITHUB_ENV else @@ -36,7 +36,7 @@ jobs: - name: "Prepare repository" run: |- - ./checkout.py ${{ inputs.version }} + ./checkout.py ${{ inputs.version || 'master' }} - name: "Run builder for Docker containers" env: @@ -63,7 +63,7 @@ jobs: - name: "Set dated version for unstable builds" id: version run: |- - if grep --silent --extended-regexp '^v[0-9]+' <<< "${{ inputs.version }}"; then + if grep --silent --extended-regexp '^v[0-9]+' <<< "${{ inputs.version || 'master' }}"; then echo "JELLYFIN_VERSION=${{ inputs.version }}" >> $GITHUB_ENV echo "JELLYFIN_RELEASE_TYPE=stable" >> $GITHUB_ENV else @@ -80,7 +80,7 @@ jobs: - name: "Prepare repository" run: |- - ./checkout.py ${{ inputs.version }} + ./checkout.py ${{ inputs.version || 'master' }} - name: "Run builder for ${{ matrix.version }} ${{ matrix.arch }}" run: |- @@ -156,7 +156,7 @@ jobs: - name: "Set dated version for unstable builds" id: version run: |- - if grep --silent --extended-regexp '^v[0-9]+' <<< "${{ inputs.version }}"; then + if grep --silent --extended-regexp '^v[0-9]+' <<< "${{ inputs.version || 'master' }}"; then echo "JELLYFIN_VERSION=${{ inputs.version }}" >> $GITHUB_ENV echo "JELLYFIN_RELEASE_TYPE=stable" >> $GITHUB_ENV else @@ -173,7 +173,7 @@ jobs: - name: "Prepare repository" run: |- - ./checkout.py ${{ inputs.version }} + ./checkout.py ${{ inputs.version || 'master' }} - name: "Run builder for ${{ matrix.version }} ${{ matrix.arch }}" run: |- @@ -247,7 +247,7 @@ jobs: - name: "Set dated version for unstable builds" id: version run: |- - if grep --silent --extended-regexp '^v[0-9]+' <<< "${{ inputs.version }}"; then + if grep --silent --extended-regexp '^v[0-9]+' <<< "${{ inputs.version || 'master' }}"; then echo "JELLYFIN_VERSION=${{ inputs.version }}" >> $GITHUB_ENV echo "JELLYFIN_RELEASE_TYPE=stable" >> $GITHUB_ENV else @@ -264,7 +264,7 @@ jobs: - name: "Prepare repository" run: |- - ./checkout.py ${{ inputs.version }} + ./checkout.py ${{ inputs.version || 'master' }} - name: "Run builder for ${{ matrix.arch }}" run: |- @@ -311,7 +311,7 @@ jobs: - name: "Set dated version for unstable builds" id: version run: |- - if grep --silent --extended-regexp '^v[0-9]+' <<< "${{ inputs.version }}"; then + if grep --silent --extended-regexp '^v[0-9]+' <<< "${{ inputs.version || 'master' }}"; then echo "JELLYFIN_VERSION=${{ inputs.version }}" >> $GITHUB_ENV echo "JELLYFIN_RELEASE_TYPE=stable" >> $GITHUB_ENV else @@ -328,7 +328,7 @@ jobs: - name: "Prepare repository" run: |- - ./checkout.py ${{ inputs.version }} + ./checkout.py ${{ inputs.version || 'master' }} - name: "Run builder for ${{ matrix.arch }}" run: |- @@ -375,7 +375,7 @@ jobs: - name: "Set dated version for unstable builds" id: version run: |- - if grep --silent --extended-regexp '^v[0-9]+' <<< "${{ inputs.version }}"; then + if grep --silent --extended-regexp '^v[0-9]+' <<< "${{ inputs.version || 'master' }}"; then echo "JELLYFIN_VERSION=${{ inputs.version }}" >> $GITHUB_ENV echo "JELLYFIN_RELEASE_TYPE=stable" >> $GITHUB_ENV else @@ -392,7 +392,7 @@ jobs: - name: "Prepare repository" run: |- - ./checkout.py ${{ inputs.version }} + ./checkout.py ${{ inputs.version || 'master' }} - name: "Run builder for ${{ matrix.version }} ${{ matrix.arch }}" run: |- @@ -434,7 +434,7 @@ jobs: - name: "Set dated version for unstable builds" id: version run: |- - if grep --silent --extended-regexp '^v[0-9]+' <<< "${{ inputs.version }}"; then + if grep --silent --extended-regexp '^v[0-9]+' <<< "${{ inputs.version || 'master' }}"; then echo "JELLYFIN_VERSION=${{ inputs.version }}" >> $GITHUB_ENV echo "JELLYFIN_RELEASE_TYPE=stable" >> $GITHUB_ENV else @@ -451,7 +451,7 @@ jobs: - name: "Prepare repository" run: |- - ./checkout.py ${{ inputs.version }} + ./checkout.py ${{ inputs.version || 'master' }} - name: "Run builder for Portable" run: |- |