Plan icon indicating copy to clipboard operation
Plan copied to clipboard

Automate CurseForge game version support tags

Open AuroraLS3 opened this issue 1 year ago • 0 comments

I would like to be able to..

Automate getting the version numbers for minecraft when releasing to CurseForge

Is your feature request related to a problem? Please describe.

  • Upload action contains a version list https://github.com/plan-player-analytics/Plan/blob/master/.github/workflows/on-release.yml#L122
  • Minecraft version can be extracted to new variable https://github.com/plan-player-analytics/Plan/blob/master/Plan/fabric/build.gradle#L11
    • The variable can then be printed with a gradle action similar to https://github.com/plan-player-analytics/Plan/blob/master/Plan/build.gradle#L197-L207
  • How to get the version is documented in https://github.com/plan-player-analytics/Plan/wiki/How-to-update-supported-fabric-version-for-curseforge-release-pipeline
  • jq can probably be used to filter the lists with what you need to put in the version string in the action.
    • Only the minecraft version needs to change, Java version is probably not going to change often enough to need automation

AuroraLS3 avatar Apr 05 '24 12:04 AuroraLS3