Replies: 1 comment 2 replies
-
First of all, I want to tell you, that under no circumstances I'm gonna re-write the whole project again just because of Hangar. But it does not mean that I don't want to implement support for it at all. With that said, let's continue. Hangar API is quite weird, and it's not currently documented (the project is in beta, so we can give them a free pass on that tho), so I have problems parsing their example: {
"version": "string",
"pluginDependencies": {
"additionalProp1": [
{
"name": "string",
"required": true,
"namespace": {
"owner": "string",
"slug": "string"
},
"externalUrl": "string",
"platform": "PAPER"
}
]
},
"platformDependencies": {
"additionalProp1": [
"string"
]
},
"description": "string",
"files": [
{
"platforms": [
"PAPER"
],
"externalUrl": "string",
"url": true
}
],
"channel": "string"
} Therefore, I cannot for the love of god understand the relation between |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Assuming this action would integrate HangarMC support, how could we define loaders per file?
The platform allows to upload up to 3 individual files, which each can have their own platform/loader defined.
This with the current setup of mc-publish would already throw a wrench in existing setups.
Not only would we need a separate job/step for cases like when using a matrix strategy, but also now need a way to define a different platform/loader for a specific file.
So the question I have is, how could such a thing look like?
I believe that a syntax adobted from the new dependencies format could be used here for the files themself, allowing a format like:
or for simplicity sake maybe a
file.jar@platform
format instead?Either way, the current way of how mc-publish defines loaders wouldn't allow us to upload multiple jars in one release with different platforms defined for each, so a way for it should be found eventually.
Beta Was this translation helpful? Give feedback.
All reactions