From c760b8355532de241a3a095d356499bd5b974bb5 Mon Sep 17 00:00:00 2001 From: 0xTas Date: Sat, 20 Apr 2024 14:27:03 -0700 Subject: [PATCH] Update commit sha 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 0f20a5f..5a178b1 100644 --- a/.github/workflows/gradle.yml +++ b/.github/workflows/gradle.yml @@ -36,7 +36,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 b6050bd..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": "942ed0248b5d39d0d9fd1a25cf1de5f76818a45d" + "meteor-client:commit": "${commit}" }, "depends": { "java": ">=17",