-
Notifications
You must be signed in to change notification settings - Fork 330
Releasing
Devon Carew edited this page Mar 27, 2018
·
35 revisions
- ensure that the changelog in
CHANGELOG.mdis up-to-date (from the current milestone)- edit
CHANGELOG.mdto update the release notes - re-generate the plugin.xml files using
bin/plugin generate - commit these changes
- edit
- create a new branch locally from that commit (
git checkout -B release_<version> SHA, replacing<version>andSHAas appropriate) - in a terminal emulator,
bin/plugin --release=<version> build, again replacing<version>with the current version number - the plugin is created as three separate
flutter-studio.zipproducts in/project/root/artifacts/release_<version>(all three will be uploaded separately)- 3.0
- 3.1
- 2018.1
- push your release branch upstream (
git push -u upstream release_20)
- sign into https://plugins.jetbrains.com
- from https://plugins.jetbrains.com/plugin/9212?pr=idea, select
'update plugin' - upload the
flutter-studio.zipfiles (one for each product) created from the earlier step (note: the.zipfile)
When it's necessary to patch a previously released build:
- the fix should have already been committed to master
- change to the branch for that release (
git checkout release_21)
- cherrypick the specific commit (
git cherry-pick 2d8ac6a) - ensure that the changelog in
resources/META-INF/plugin.xmlis up-to-date (from the current milestone)- edit plugin.xml.template: update release notes
- commit these changes
- push your release branch upstream (
git push -u upstream release_20)
- in a terminal emulator,
bin/plugin --release=<version> build, again replacing<version>with the current version number - the plugin is created as three separate
flutter-studio.zipproducts in/project/root/artifacts/release_<version>(all three will be uploaded separately)- 3.0
- 3.1
- 2018.1
- sign into https://plugins.jetbrains.com
- from https://plugins.jetbrains.com/plugin/9212?pr=idea, select
'update plugin' - upload the
flutter-studio.zipcreated from the earlier step (note: the.zipfile)