-
Notifications
You must be signed in to change notification settings - Fork 0
Publishing a Release
Follow these steps when preparing and publishing a new Hytale mod release.
Set the release version in your Gradle build, for example:
version = "1.0.0"HytalePublisher uses project.version by default unless you override hytalePublisher.version.
Create or update the changelog file configured by changelogFile.
By default, HytalePublisher uses:
changelog.md
If the configured changelog file does not exist, HytalePublisher creates it automatically with a basic Markdown heading.
Changelog file names are matched case-insensitively. For example, all of these are treated as valid matches for the default changelog.md:
changelog.md
CHANGELOG.md
CHANGELOg.md
The path is resolved relative to the root project directory unless an absolute path is provided.
Enable only the platforms you want to publish this release to:
hytalePublisher {
modtale {
enabled = true
projectId = "your-modtale-project-id"
}
curseforge {
enabled = true
projectId = "123456"
}
modifold {
enabled = false
projectId = "your-modifold-project-slug"
}
}Only enabled platforms will register publish tasks.
For local publishing, add API keys to key.properties:
modTaleKey=your-modtale-api-key
curseKey=your-curseforge-api-token
modifoldKey=your-modifold-bearer-tokenFor CI/CD publishing, provide the matching environment variables instead.
Publish to a single platform:
./gradlew publishToModtale
./gradlew publishToCurseForge
./gradlew publishToModifoldPublish to every enabled platform:
./gradlew publishAllUse --info or --stacktrace if you need detailed error output during publishing.
All publishing tasks automatically depend on build, so your mod artifact is built before upload.