2.2.1 • Published 5 years ago
@mythicdrops/semantic-release-gradle-config v2.2.1
@mythicdrops/semantic-release-gradle-config
semantic-release shareable config to publish MythicDrops Gradle projects to Maven Central.
Prerequisites
- Node >= 14
- npm ^7
- Gradle >= 6.8.2
Plugins
This shareable configuration use the following plugins:
@semantic-release/changelog@semantic-release/commit-analyzer@semantic-release/git@semantic-release/github@semantic-release/release-notes-generator@mythicdrops/semantic-release-sonatype
Install
$ npm install --save-dev semantic-release @mythicdrops/semantic-release-gradle-configUsage
The shareable config can be configured in the semantic-release configuration file:
{
"extends": "@mythicdrops/semantic-release-gradle-config"
}Configuration
See each plugin documentation for required installation and configuration steps.
Releases
Supported release branches can now happen as below:
- regular releases to the default distribution channel from the branch
main - regular releases to a distribution channel matching the branch name from any
existing branch with a name matching a maintenance release range (
N.N.xorN.x.xorN.xwithNbeing a number) - regular releases to the
nextdistribution channel from the branchnextif it exists - regular releases to the
next-majordistribution channel from the branchnext-majorif it exists - prereleases to the
betadistribution channel from the branchbetaif it exists - prereleases to the
alphadistribution channel from the branchalphaif it exists