Release 2.10.0 — add platform publish workflows#168
Merged
Conversation
Publishing a GitHub release previously only fired the Discord webhook because this repo had no release:published workflows. Adds: - modrinth-publish.yml — builds with -Pmaster and uploads the jar to Modrinth (project NnkaZPqQ) - publish.yml — calls the shared BentoBoxWorld/.github reusable workflow to push the release-attached jar to CurseForge (project 1606770); Hangar skipped (addon is not published there) Platform secrets (MODRINTH_TOKEN, CURSEFORGE_TOKEN, HANGAR_API_KEY) are provided at the org level, matching Border/Challenges. Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_01AgLXH3e951W2wiUg2BU4WM
The addon is published on Hangar at tastybento/MagicCobblestoneGenerator, so set hangar_slug rather than skipping it. Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_01AgLXH3e951W2wiUg2BU4WM
Pin actions/checkout, actions/setup-java and cloudnode-pro/modrinth-publish to full-length commit SHAs to satisfy SonarCloud githubactions:S7637, matching the SHAs used across the other BentoBox addons. Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_01AgLXH3e951W2wiUg2BU4WM
…orkflows Add platform publish workflows (Modrinth, CurseForge)
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



Summary
Re-syncs
develop→masterto bring across the platform publish workflows added in #167 (the 2.10.0 addon changes already reached master via #166).Adds two
release: publishedworkflows so publishing the 2.10.0 GitHub release pushes the jar to all three platforms:modrinth-publish.yml— Modrinth (projectNnkaZPqQ)publish.yml— CurseForge (1606770) + Hangar (MagicCobblestoneGenerator) via the sharedBentoBoxWorld/.githubreusable workflowAll actions are pinned to full-length commit SHAs (Sonar
githubactions:S7637). Platform secrets are provided at the org level.🤖 Generated with Claude Code