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

[Request] GitLab platform support #46

Open supersaiyansubtlety opened 3 months ago

supersaiyansubtlety commented 3 months ago

🦊 https://gitlab.com/ Like GitHub, but with less hub and more lab.

I just found out about MPP and am switching from crusegradle+minotaur, loving it so far. Saw there was GitHub support so thought GitLab might fit, too (and my mods are on GitLab).

modmuss50 commented 3 months ago

Hi, this seems like a reasonable idea. However I have never used gitlab so its not something I am very familar with.

A quick search seems to suggest it does have an API for this here: https://docs.gitlab.com/ee/api/releases/#create-a-release however its not super obvious to me how you would actually upload a file to a release?

supersaiyansubtlety commented 3 months ago

From what I can tell from these:

you have to upload files first and then put links to those files in the release