From ef954600ea4ae157206e5cc48be5b0609bf7ecb7 Mon Sep 17 00:00:00 2001 From: ziajka Date: Wed, 3 Jul 2019 12:14:19 +0200 Subject: [PATCH] Update docs how to release WebUI --- README.md | 19 ++++++++----------- 1 file changed, 8 insertions(+), 11 deletions(-) diff --git a/README.md b/README.md index 866d3e87..29fc059e 100644 --- a/README.md +++ b/README.md @@ -93,24 +93,21 @@ If you would like to bump prepatch just type: ### Distribute release -We have got configured CircleCI, TravisCI and AppVeyor for distributing application for particular platform. In order to release you need to tag&push your changes. +We have got configured CircleCI, TravisCI and AppVeyor for distributing application for particular platform. In order to release you need to tag&push your changes from master. -Using `bump`: +First of all please remove `dev` from version in `package.json` (for instance `2019.2.0-alpha.4dev` to `2019.2.0-alpha.4`). Commit & push changes with message `Release 2019.2.0-alpha.4` . Next step is to tag repository and push to origin: - bump --patch --tag --push -Or manually: - - git tag v0.0.1 - git push origin v0.0.1 + git tag v2019.2.0-alpha.4 + git push origin v2019.2.0-alpha.4 When artifacts are made you can see draft release here: [gns3-web-ui releases](https://github.com/GNS3/gns3-web-ui/releases) which is waiting to be published. -After release please change current version in `package.json` to `X.X.X-beta.0`'. Otherwise artifacts will be overwritten during the next commit. +After release please change current version in `package.json` to `2019.2.0-alpha.5dev`'. Otherwise artifacts will be overwritten during the next commit. -You may use `bump` to achieve that: - - bump --prepatch +#### Updating gns3server + +Checkout the latest master of `gns3server`. Run command `./scripts/update-bundled-web-ui.sh`. Commit & push changes with message `Release 2019.2.0-alpha.4`. ### Staging release