Closed ApexModder closed 1 year ago
This seems to be related to additionalFiles
as those are being uploaded with an emptyList
changing this to use the same set of gameVersions
, seems to fix this issue from my local-testing
This would also explain why the files are uploading to their respective platforms but also crashing gradle saying its failing.
The main file is uploading fine as it has all the required details, but the additional files are missing the gameVersions
data, successful upload but also crash.
Yeah, sorry about this. I have had a few attempts at fixing this, first https://github.com/modmuss50/mod-publish-plugin/commit/8c97a305d0c443cebe5f775bf7009dce8e689057 and https://github.com/modmuss50/mod-publish-plugin/commit/1368039fea48934d1fa802f93865d00219ed5db7
I have been a bit lazy and tried to fix it without testing, the curseforge documentation is not clear at all about the expected behaviour here. I will find some time to figure this out.
yeah, I have been trying to implement a fix myself but this kinda feels like some issue in CurseForge's API?
parentFileID
, gameVersions
is unsupported and should not be specified.gameVersions
to always exist and contain at least 1 entry, but this goes against how parentFileID
works.These 2 rules in the API, feel like they contradict each other, making it impossible to upload parented files to CurseForge.
Continued from #11
ok that fixed that issue but.... now we have a new issue, it wants an array of length 1 minimum