From 1f6492b2fc9e8ff245678d334ed38cae977abbf2 Mon Sep 17 00:00:00 2001 From: Michael Hillcox Date: Wed, 5 Feb 2025 09:24:37 +0000 Subject: [PATCH] chore: nearly there --- .github/workflows/release.yml | 2 ++ build.gradle | 3 +++ 2 files changed, 5 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 19663d5..f3dcefe 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -61,6 +61,8 @@ jobs: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - name: Update Meta info # Get the current commit hash and push it against the minecraft version + env: + MC_VERSION: ${{ env.MC_VERSION }} run: | export CURRENT_HASH=$(git rev-parse HEAD) curl -X POST -H "Content-Type: application/json" -H "Authorization: Bearer ${{ secrets.META_TOKEN }}" -d "{\"hash\":\"$CURRENT_HASH\"}" https://api.feed-the-beast.com/v1/meta/versions/mods/ftb-promoter/${MC_VERSION} diff --git a/build.gradle b/build.gradle index 5cd0b5f..7c9890e 100644 --- a/build.gradle +++ b/build.gradle @@ -151,6 +151,9 @@ def createChangelog() { return "" } + println("History file: " + commitHistory) + println(commitHistory.text) + def line = commitHistory.readLines() Map> changes = [ "added" : [],