This page describes how to cut releases of our plugin. It's strictly for the owners of the project.
-
Create a new branch as if you were starting a normal bugfix PR
git checkout -b release_v1.0
-
Modify the root build.gradle version field to the release version number. (do not include the 'v' prefix)
version = '1.0'
-
Commit your change with a clear commit message.
git commit -a -m "Set plugin version to 1.0"
-
Push your change.
git push origin release_v1.0
-
Create a PR and send your change for review to another team member. Label it with the 'Release' tag.
-
Merge when approved.
-
Now we need to return to a snapshot release. Follow the same flow but update the version number to something like:
version = '1.1-SNAPSHOT'
-
Commit your changes, push, send a PR, and merge.
-
The final step is to label the release in Github.
-
From the 'releases' tab in Github
-
Click 'Draft a new release'
-
Add a tag version which is 'v' + the version number. e.g. 'v1.0'
-
Include the release version name in the release title.
-
Add any relevant release documents
-
Click 'Publish release'
-
You're done. Assuming all goes well Travis will upload the release binaries to the Github release details page and to the Jetbrains plugin repository.