Skip to content

Commit

Permalink
update build script
Browse files Browse the repository at this point in the history
  • Loading branch information
plusls committed Sep 8, 2021
1 parent bd74bd8 commit 8707140
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
java-version: ${{ matrix.java }}
- name: Set build number in codes
run: |
sed -i "s/alpha.114514//g" gradle.properties
sed -i "s/-alpha.114514//g" gradle.properties
- name: make gradle wrapper executable
if: ${{ runner.os != 'Windows' }}
run: chmod +x ./gradlew
Expand Down Expand Up @@ -52,7 +52,7 @@ jobs:
changelog_type: markdown
changelog: ${{ github.event.release.body }}
# 1.16.5:8203, 1.17:8516, fabric:7499
game_versions: ${{ fromJson('{"1.16.x":"8203","1.17.x":"8516"}')[matrix.branch] }}, 7499
game_versions: ${{ fromJson('{"1.16.x":"8203","1.17.x":"8516","1.18.x":"8633"}')[matrix.branch] }}, 7499
release_type: release
- name: Upload to Modrinth
if: ${{ runner.os == 'Linux' && matrix.java == '16' }}
Expand Down

0 comments on commit 8707140

Please sign in to comment.