Skip to content

Commit

Permalink
chore: nearly there
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelHillcox committed Feb 5, 2025
1 parent 9a1fe71 commit 1f6492b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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}
3 changes: 3 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,9 @@ def createChangelog() {
return ""
}

println("History file: " + commitHistory)
println(commitHistory.text)

def line = commitHistory.readLines()
Map<String, List<String>> changes = [
"added" : [],
Expand Down

0 comments on commit 1f6492b

Please sign in to comment.