fix(RC publish): loaders correctly assigned

This commit is contained in:
Technocality
2025-11-18 21:27:14 -06:00
committed by GitHub
parent 7abf1391f9
commit 8832bb9e9c

View File

@@ -380,7 +380,7 @@ jobs:
files: |
artifacts/${{ env.PACK_NAME }}-${{ matrix.version }}-${{ matrix.loader }}-${{ env.VERSION }}-modrinth.mrpack
name: "${{ needs.check-tag.outputs.is_lite == 'true' && 'RC-Lite' || 'RC' }} ${{ env.VERSION }} (${{ matrix.loader == 'neoforged' && 'NeoForge' || 'Fabric' }} ${{ matrix.version }})"
name: "${{ needs.check-tag.outputs.is_lite == 'true' && 'RC-Lite' || 'RC' }} ${{ env.VERSION }} (${{ matrix.loader == 'neoforged' ? 'NeoForge' : matrix.loader == 'neoforge' ? 'NeoForge' : matrix.loader == 'forge' ? 'Forge' : matrix.loader == 'fabric' ? 'Fabric' : matrix.loader == 'quilt' ? 'Quilt' : 'ERROR, FIX ME IN publish.yml' }})"
version: "${{ env.VERSION }}-${{ matrix.loader }}-${{ matrix.version }}"
version-type: ${{ github.event_name == 'release' && (contains(github.event.release.tag_name, 'alpha') && 'alpha' || contains(github.event.release.tag_name, 'beta') && 'beta' || 'release') || 'alpha' }}
@@ -450,7 +450,7 @@ jobs:
files: |
artifacts/${{ env.PACK_NAME }}-${{ matrix.version }}-${{ matrix.loader }}-${{ env.VERSION }}-curseforge.zip
name: "${{ needs.check-tag.outputs.is_lite == 'true' && 'RC-Lite' || 'RC' }} ${{ env.VERSION }} (${{ matrix.loader == 'neoforged' && 'NeoForge' || 'Fabric' }} ${{ matrix.version }})"
name: "${{ needs.check-tag.outputs.is_lite == 'true' && 'RC-Lite' || 'RC' }} ${{ env.VERSION }} (${{ matrix.loader == 'neoforged' ? 'NeoForge' : matrix.loader == 'neoforge' ? 'NeoForge' : matrix.loader == 'forge' ? 'Forge' : matrix.loader == 'fabric' ? 'Fabric' : matrix.loader == 'quilt' ? 'Quilt' : 'ERROR, FIX ME IN publish.yml' }})"
version: "${{ env.VERSION }}-${{ matrix.loader }}-${{ matrix.version }}"
version-type: ${{ github.event_name == 'release' && (contains(github.event.release.tag_name, 'alpha') && 'alpha' || contains(github.event.release.tag_name, 'beta') && 'beta' || 'release') || 'alpha' }}