To release a new version, follow these steps.
- Choose the new version according to Semantic Versioning. It should consist of three numbers (i.e.
1.0.0
). - Make sure there are some entries under
Unreleased
section in theCHANGELOG.md
- Execute the following Gradle task to update the changelog
(this task comes from the plugin we use to keep a changelog)
./gradlew patchChangelog -Pversion="$version"
- Open a pull request and merge changes (you could do it beforehand in any other pr)
- Switch to a commit you want to tag (usually it's the HEAD of the master branch) and execute
./tag-release-and-push.sh
It will tag the current HEAD
with latest version from the changelog, and push it to the origin remote.
The new version of the plugin will be published to marketplace automatically.