matthewprenger / CurseGradle

Gradle plugin to upload Minecraft mods to CurseForge
MIT License
1 stars 1 forks source link

Invalid release type (alpha) #6

Closed digitalseraphim closed 8 years ago

digitalseraphim commented 8 years ago

When setting the release type value using a config file, I get an error that looks like the following:

Invalid release type (alpha) for project . Valid options are: [alpha, beta, release]

in my config file I have: `curse_release_type=alpha``

In my build.gradle I have:

curseforge  {
    apiKey = "${priv.curse_api_key}"
    project {
        id = "${config.curse_proj_id}"
        releaseType = "${config.curse_release_type}"
        mainArtifact jar
        addArtifact deobfJar
        addGameVersion "${config.minecraft_version}"
    }
}

If I change the "releaseType" line to releaseType="alpha" it works just fine.

The-Fireplace commented 8 years ago

Have you tried curse_release_type="alpha" in your config file?