- Drop '-SNAPSHOT' from the version string. For example,
1.0.0-SNAPSHOT
becomes1.0.0
. Do this in:
build.gradle
(version specification)README.md
(usage instruction)CHANGELOG.md
(the topmost version)
- Commit the changes with message
Release 1.0.0
. - Tag this commit with the new version
1.0.0
. - Publish the plugin to Gradle's plugin portal with
gradle publishPlugins
. - Bump to the next -SNAPSHOT version. For example,
version '1.0.0'
becomesversion '2.0.0-SNAPSHOT'
. - Commit the changes with message
Set version to 2.0.0-SNAPSHOT
.
In the future, consider using the axion-release-plugin.