Releasing
-
Create a local release branch from
master
git checkout master git pull git checkout -b release_0.17.6
-
Update
version
infladle-plugin/build.gradle.kts
(remove-SNAPSHOT
)version = "0.17.6"
-
Update the current version and next version in
mkdocs.yml
:extra: fladle: release: '0.17.6' next_release: 'REPLACE_WITH_NEXT_VERSION_NUMBER'
-
Take one last look
git diff
-
Commit all local changes
git commit -am "Prepare 0.17.6 release"
-
Create a tag and push it
git tag v0.17.6 git push origin v0.17.6
-
Upload to Maven Central
./gradlew :fladle-plugin:publishAllPublicationsToMavenRepository -Pfladle.releaseMode -Dorg.gradle.internal.publish.checksums.insecure=true
-
Upload to Gradle Plugin Portal
./gradlew :fladle-plugin:publishPlugins -Pfladle.releaseMode -Dorg.gradle.internal.publish.checksums.insecure=true
-
Release to Maven Central
- Login to Sonatype OSS Nexus: https://oss.sonatype.org/
- Click on Staging Repositories
-
Merge the release branch to master
git checkout master git pull git merge --no-ff release_0.17.6
-
Update
version
infladle-plugin/build.gradle.kts
(increase version and add-SNAPSHOT
)version = "REPLACE_WITH_NEXT_VERSION_NUMBER-SNAPSHOT"
-
Commit your changes
git commit -am "Prepare for next development iteration"
-
Push your changes
git push