mirror of
https://github.com/FancyInnovations/FancyPlugins.git
synced 2025-12-06 07:43:36 +00:00
deployment: add Modrinth API key to deployment scripts and update channel naming conventions
This commit is contained in:
@@ -1,20 +0,0 @@
|
||||
package de.oliver.deployment.modrinth;
|
||||
|
||||
import com.google.gson.annotations.SerializedName;
|
||||
|
||||
public record CreateVersionRequest(
|
||||
String name,
|
||||
@SerializedName("version_number") String versionName,
|
||||
String changelog,
|
||||
String[] dependencies,
|
||||
@SerializedName("game_versions") String[] gameVersions,
|
||||
@SerializedName("version_type") String versionType,
|
||||
String[] loaders,
|
||||
boolean featured,
|
||||
String status,
|
||||
@SerializedName("requested_status") String requestedStatus,
|
||||
@SerializedName("project_id") String projectId,
|
||||
@SerializedName("file_parts") String[] fileParts,
|
||||
@SerializedName("primary_file") String primaryFile
|
||||
) {
|
||||
}
|
||||
@@ -45,7 +45,7 @@ public class ModrinthService {
|
||||
changelog,
|
||||
new ArrayList<>(),
|
||||
Arrays.asList(config.supportedVersions()),
|
||||
ProjectVersion.VersionType.ALPHA,
|
||||
ProjectVersion.VersionType.valueOf(config.channel()),
|
||||
Arrays.asList(config.loaders()),
|
||||
config.featured(),
|
||||
config.projectID(),
|
||||
|
||||
Reference in New Issue
Block a user