semantic-release shareable config to publish MythicDrops Gradle projects to Maven Central.
- Node >= 14
- npm ^7
- Gradle >= 6.8.2
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
$ npm install --save-dev semantic-release @mythicdrops/semantic-release-gradle-config
The shareable config can be configured in the semantic-release configuration file:
{
"extends": "@mythicdrops/semantic-release-gradle-config"
}
See each plugin documentation for required installation and configuration steps.
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.x
orN.x.x
orN.x
withN
being a number) - regular releases to the
next
distribution channel from the branchnext
if it exists - regular releases to the
next-major
distribution channel from the branchnext-major
if it exists - prereleases to the
beta
distribution channel from the branchbeta
if it exists - prereleases to the
alpha
distribution channel from the branchalpha
if it exists