From 59e30ab34895ef6073491cfdfcf43c88adcbdfcd Mon Sep 17 00:00:00 2001 From: 0xTas Date: Sat, 20 Apr 2024 14:27:03 -0700 Subject: [PATCH] Update commit hash should now get automatically populated by CI. --- .github/workflows/gradle.yml | 2 +- src/main/resources/fabric.mod.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/gradle.yml b/.github/workflows/gradle.yml index d4abc4a..7b38e2d 100644 --- a/.github/workflows/gradle.yml +++ b/.github/workflows/gradle.yml @@ -32,7 +32,7 @@ jobs: uses: gradle/actions/setup-gradle@417ae3ccd767c252f5661f1ace9f835f9654f2b5 # v3.1.0 - name: Build with Gradle Wrapper - run: ./gradlew build + run: ./gradlew build -Pcommit=${{ github.sha }} - uses: "marvinpinto/action-automatic-releases@latest" with: diff --git a/src/main/resources/fabric.mod.json b/src/main/resources/fabric.mod.json index 35e7c05..6237b56 100644 --- a/src/main/resources/fabric.mod.json +++ b/src/main/resources/fabric.mod.json @@ -22,7 +22,7 @@ ], "custom": { "meteor-client:color": "147,233,190", - "meteor-client:commit": "27691f9711223086cb2783b2b004c48f4c96214d" + "meteor-client:commit": "${commit}" }, "depends": { "java": ">=17",