Skip to content

Failed to parse minecraftVersionRange when pushing 26.1-snapshot-2 to Modrinth #86

@Crystal0404

Description

@Crystal0404

version: 1.1.0

	modrinth {
		accessToken = providers.environmentVariable('MODRINTH_API_KEY')
		projectId = '123456'
		minecraftVersionRange {
			start = '26.1-snapshot-2'
			end = 'latest'
		}
	}

If dryRun is set to true, these errors will occur during the push process.

Execution failed for task ':publishModrinth'.
> Error while evaluating property 'platform.minecraftVersions' of task ':publishModrinth'.
   > Failed to calculate the value of property 'minecraftVersions'.
      > Invalid start version 26.1-snapshot-2

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions