Skip to content

Commit

Permalink
Merge pull request #897 from Gu-ZT/releases/1.20.1
Browse files Browse the repository at this point in the history
更新发布脚本
  • Loading branch information
Gugle2308 authored Jun 12, 2024
2 parents 325eb80 + cd55037 commit eea3a61
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ jobs:
env:
CI_BUILD: false
PR_BUILD: false
VERSION_TYPE: ${{ github.event.release.prerelease && 'alpha' || 'release' }}
runs-on: ubuntu-latest
steps:
- name: checkout
Expand Down Expand Up @@ -76,7 +77,7 @@ jobs:
name: "${{ steps.properties.outputs.mod_name }} For Forge v${{ steps.version.outputs.version }}"
version: ${{ steps.version.outputs.version }}
game-versions: 1.20.1
version-type: release
version-type: ${{ env.VERSION_TYPE }}
java: 17
fail-mode: skip
changelog: ${{ github.event.release.body }}
Expand All @@ -100,7 +101,7 @@ jobs:
name: "${{ steps.properties.outputs.mod_name }} For Fabric v${{ steps.version.outputs.version }}"
version: ${{ steps.version.outputs.version }}
game-versions: 1.20.1
version-type: release
version-type: ${{ env.VERSION_TYPE }}
java: 17
fail-mode: skip
changelog: ${{ github.event.release.body }}
Expand Down

0 comments on commit eea3a61

Please sign in to comment.