modmuss50 / mod-publish-plugin

A Gradle plugin to publish mods to a range of destinations
https://modmuss50.github.io/mod-publish-plugin/
MIT License
56 stars 9 forks source link

curseforge versions range attempt #23

Closed AnAwesomGuy closed 11 months ago

AnAwesomGuy commented 11 months ago

idk if this works cuz idk how to test it pls forgive me if it doesnt work (ive never worked with kotlin or gradle before lol) in case you dont know, im what should my username be? on discord feel free to make edits or review this

modmuss50 commented 11 months ago

This isnt going to work as Curseforge doesnt always use the same version from the mc version metadata (see snapshots). Hence why I only added it to Modrinth.

AnAwesomGuy commented 11 months ago

Oh ok

modmuss50 commented 11 months ago

I had an idea (idk why I didnt think of this before) to just not allow using snapshots on curseforge. I have added this here: https://github.com/modmuss50/mod-publish-plugin/commit/f8c442723ebee91eccbfbe4c9bc9ed72d6d7bb84