5 How to update supported fabric version for curseforge release pipeline
Aurora Lahtela edited this page 2022-10-30 11:28:31 +02:00

Plan Header

Get the versions from

https://minecraft.curseforge.com/api/game/versions?token=yourAPIKeyHere

The list is huge so Ctrl-F is your friend.

Since there can be multiple identical versions (eg. 1.18.1) for different platforms, each "version" also has a version type ID (that's the xxx: part in the workflow) that can be found from

https://minecraft.curseforge.com/api/game/version-types?token=yourAPIKeyHere

Basically, you first look at version-types for the correct type ID for the major version you're looking for, and then Ctrl-F for that ID in the versions endpoint to find the available slugs for that version.

Update the game version list on the workflow https://github.com/plan-player-analytics/Plan/blob/master/.github/workflows/curseforge-upload.yml (There are 2 copies of the list)