Skip to content

Releasing

Devon Carew edited this page Jul 7, 2017 · 35 revisions

Creating a new release

From IntelliJ:

  • ensure that the changelog in plugin.xml is up-to-date (from the current milestone)
  • commit these changes
  • from the menu, choose Build > Prepare plugin module for deployment
  • the plugin file created as flutter-intellij.jar in the project root

From github:

From plugins.jetbrains.com:

Pushing a patch to an existing release

When it's necessary to patch a previously released build:

Create a branch

  • the fix should have already been committed to master
  • look at the releases page and get the git commit of the release to patch
  • create a new branch locally from that commit (git branch release_15.0 4324f80)
  • change to that branch (git checkout release_15.0)

Cherry-pick the fix

  • cherrypick the specific commit (git cherry-pick 2d8ac6a)
  • rev the plugin numbers (append .1 to the plugin version in resources/META-INF/plugin.xml)
  • commit your version change and push the new branch up to the repo

Re-deploy the new Jar

Clone this wiki locally