ParadigmMC / mc-modpack-kit

A template designed to streamline the release process of Minecraft modpacks.
Creative Commons Zero v1.0 Universal
29 stars 10 forks source link

Updating arbitrary files #70

Open Aninuscsalas opened 8 months ago

Aninuscsalas commented 8 months ago

Is your feature request related to a problem? Please describe. I'm making a large modpack, I have multiple places where i include the version of the pack. (In pack.toml, On the main menu, in the Better Compatibility Checker, etc.)

Describe the solution you'd like I think it would be nice if there was a file where we can manually include the files where we want to update the files.

Release please already has a way to do this, but I'm not sure how this would apply to mc-modpack-kit https://github.com/googleapis/release-please/blob/main/docs/customizing.md#updating-arbitrary-files

jh-devv commented 5 months ago

You would need to write an updater for them, or just a bash scriptlet that change the version like I have done.