Skip to content

Commit 931319f

Browse files
committed
prepare release 21.1.3
1 parent fe5efc2 commit 931319f

File tree

4 files changed

+85
-1
lines changed

4 files changed

+85
-1
lines changed
Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
# This workflow will build a Java project with Gradle
2+
# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-gradle
3+
4+
name: Gradle Build
5+
run-name: Gradle Build ${{ github.ref_name }}
6+
7+
on:
8+
workflow_dispatch:
9+
inputs:
10+
release_tag:
11+
description: 'Release Tag to deploy'
12+
type: string
13+
default: "latest"
14+
15+
env:
16+
JAVA_VERSION: 21
17+
18+
jobs:
19+
build:
20+
runs-on: ubuntu-latest
21+
steps:
22+
- id: download-release-asset
23+
name: Download release assets
24+
uses: dsaltares/fetch-gh-release-asset@master
25+
with:
26+
version: tags/${{ github.event.inputs.release_tag }}
27+
file: torchmaster-fabric-${{ github.event.inputs.release_tag }}.jar
28+
target: release.tar.gz
29+
token: ${{ secrets.GITHUB_TOKEN }}
30+
31+
- name: Publish to Curseforge
32+
id: publish_curseforge
33+
if: ${{ !cancelled() && steps.gradle_build.outcome == 'success' && github.event.inputs.deploy_curseforge == 'true' }}
34+
uses: Kir-Antipov/[email protected]
35+
with:
36+
curseforge-id: "254268"
37+
curseforge-token: ${{ secrets.CURSEFORGE_TOKEN }}
38+
files: ${{ steps.gradle_build.outputs.artifactfullname }}
39+
name: torchmaster-${{ steps.gradle_build.outputs.artifactversion }}
40+
version: ${{ steps.gradle_build.outputs.artifactversion }}
41+
version-type: ${{ steps.gradle_build.outputs.releasetype }}
42+
changelog-file: changelog.md
43+
loaders: forge
44+
game-versions: ${{ steps.gradle_build.outputs.mcversion }}
45+
java: ${{ env.JAVA_VERSION }}
Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
# This workflow will build a Java project with Gradle
2+
# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-gradle
3+
4+
name: Gradle Build
5+
run-name: Gradle Build ${{ github.ref_name }}
6+
7+
on:
8+
workflow_dispatch:
9+
inputs:
10+
create_github_release:
11+
description: 'Create Github Release'
12+
type: boolean
13+
default: true
14+
15+
env:
16+
JAVA_VERSION: 21
17+
18+
jobs:
19+
build:
20+
runs-on: ubuntu-latest
21+
steps:
22+
- name: Publish to Modrinth
23+
id: publish_modrinth
24+
if: ${{ !cancelled() && steps.gradle_build.outcome == 'success' && github.event.inputs.deploy_modrinth == 'true' }}
25+
uses: Kir-Antipov/[email protected]
26+
with:
27+
modrinth-id: "Tl8ESrhX"
28+
modrinth-token: ${{ secrets.MODRINTH_TOKEN }}
29+
files: ${{ steps.gradle_build.outputs.artifactfullname }}
30+
name: torchmaster-${{ steps.gradle_build.outputs.artifactversion }}
31+
version: ${{ steps.gradle_build.outputs.artifactversion }}
32+
version-type: ${{ steps.gradle_build.outputs.releasetype }}
33+
changelog-file: changelog.md
34+
loaders: forge
35+
game-versions: ${{ steps.gradle_build.outputs.mcversion }}
36+
java: ${{ env.JAVA_VERSION }}

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
## v21.1.3
2+
- Fix spam related to config auto fixing on neoforge
3+
14
## v21.1.2
25
- Fix crash when spawning a warden in an ancient city on fabric mod loader
36

gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# Every field you add must be added to the root build.gradle expandProps map.
33

44
# Project
5-
version=21.1.2-beta
5+
version=21.1.3-beta
66
group=net.xalcon.torchmaster
77
java_version=21
88

0 commit comments

Comments
 (0)