Skip to content

Commit

Permalink
Bump version to 7.5.1.
Browse files Browse the repository at this point in the history
  • Loading branch information
walterra committed Apr 12, 2021
1 parent a3c681d commit 30f8bcb
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 25 deletions.
40 changes: 20 additions & 20 deletions DEVELOPMENT.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,13 +34,13 @@ This is the process for producing a release for a new minor version that doesn't

```bash
# Move to the directory of you Kibana git checkout
cd ~/dev/kibana-7.x-git/kibana
cd ~/dev/kibana-7.5-git/kibana

# Fetch the latest releases
git fetch --all --tags

# Check out the release in Kibana
git checkout v7.5.0
git checkout v7.5.1

# Switch to updated node-js if necessary
nvm use
Expand Down Expand Up @@ -69,42 +69,42 @@ yarn kbn bootstrap
yarn build

# Next, download, install and run the corresponding Elasticsearch
mkdir ~/dev/elasticsearch-7.5.0-release
cd ~/dev/elasticsearch-7.5.0-release
curl -O https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-7.5.0-darwin-x86_64.tar.gz
gunzip -c elasticsearch-7.5.0-darwin-x86_64.tar.gz | tar xopf -
cd elasticsearch-7.5.0
mkdir ~/dev/elasticsearch-7.5.1-release
cd ~/dev/elasticsearch-7.5.1-release
curl -O https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-7.5.1-darwin-x86_64.tar.gz
gunzip -c elasticsearch-7.5.1-darwin-x86_64.tar.gz | tar xopf -
cd elasticsearch-7.5.1
./bin/elasticsearch

# Next, in another terminal tab, download and install the corresponding Kibana release to test the build
mkdir ~/dev/kibana-7.5.0-release
cd ~/dev/kibana-7.5.0-release/
curl -O https://artifacts.elastic.co/downloads/kibana/kibana-7.5.0-darwin-x86_64.tar.gz
gunzip -c kibana-7.5.0-darwin-x86_64.tar.gz | tar xopf -
cd kibana-7.5.0-darwin-x86_64
mkdir ~/dev/kibana-7.5.1-release
cd ~/dev/kibana-7.5.1-release/
curl -O https://artifacts.elastic.co/downloads/kibana/kibana-7.5.1-darwin-x86_64.tar.gz
gunzip -c kibana-7.5.1-darwin-x86_64.tar.gz | tar xopf -
cd kibana-7.5.1-darwin-x86_64

# Install the built plugin
./bin/kibana-plugin install 'file:///<your-path>/kibana-7.x-git/kibana/plugins/kibana_milestones_vis/build/kibana_milestones_vis-7.5.0.zip'
./bin/kibana-plugin install 'file:///<your-path>/kibana-7.5-git/kibana/plugins/kibana_milestones_vis/build/kibana_milestones_vis-7.5.1.zip'

# Start Kibana and test the UI if the plugin works.
# Use Kibana's `flights` sample dataset and create a milestones visualization.
./bin/kibana

# If everything works, finally the time has come to create the release on Github.
cd ~/dev/kibana-7.x-git/kibana/plugins/kibana_milestones_vis
cd ~/dev/kibana-7.5-git/kibana/plugins/kibana_milestones_vis
git add DEVELOPMENT.md
git add README.md
git add package.json
git commit -m "Bump version to 7.5.0."
git tag v7.5.0
git commit -m "Bump version to 7.5.1."
git tag v7.5.1
git push origin 7.5
git push --tags

# On Github, edit the new release at
# https://github.com/walterra/kibana-milestones-vis/releases/new?tag=v7.5.0
# Use `Kibana v7.5.0 compatibility release.` as the release text.
# Add the build file `kibana_milestones_vis-7.5.0.zip` to the releases' binaries.
# https://github.com/walterra/kibana-milestones-vis/releases/new?tag=v7.5.1
# Use `Kibana v7.5.1 compatibility release.` as the release text.
# Add the build file `kibana_milestones_vis-7.5.1.zip` to the releases' binaries.

# Almost done! Before the next release, a little cleanup: Just delete the temporary plugin you create so you can create another one for comparison for the next release.
rm -r ~/dev/kibana-7.x-git/kibana-extra/plugin_tmp
rm -r ~/dev/kibana-7.5-git/kibana-extra/plugin_tmp
```
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,13 @@ The releases of this plugin are synced with Kibana's release cycle. In the "Asse
Run the following from within your Kibana folder:

```
bin/kibana-plugin install https://github.com/walterra/kibana-milestones-vis/releases/download/v7.5.0/kibana_milestones_vis-7.5.0.zip
bin/kibana-plugin install https://github.com/walterra/kibana-milestones-vis/releases/download/v7.5.1/kibana_milestones_vis-7.5.1.zip
```

### Installing by first downloading a zipped release

- Head over to https://github.com/walterra/kibana-milestones-vis/releases and download the ZIP of the version you want to use, e.g. https://github.com/walterra/kibana-milestones-vis/releases/download/v7.5.0/kibana_milestones_vis-7.5.0.zip
- Inside your kibana directory, run `bin/kibana-plugin install file:///<path-to-file>/kibana_milestones_vis-7.5.0.zip`, then `npm run start`
- Head over to https://github.com/walterra/kibana-milestones-vis/releases and download the ZIP of the version you want to use, e.g. https://github.com/walterra/kibana-milestones-vis/releases/download/v7.5.1/kibana_milestones_vis-7.5.1.zip
- Inside your kibana directory, run `bin/kibana-plugin install file:///<path-to-file>/kibana_milestones_vis-7.5.1.zip`, then `npm run start`

## Usage

Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "kibana_milestones_vis",
"version": "7.5.0",
"version": "7.5.1",
"description": "A d3 based timeline visualization kibana plugin.",
"main": "index.js",
"homepage": "https://github.com/walterra/kibana-milestones-vis",
Expand All @@ -16,7 +16,7 @@
"Walter Rafelsberger <walter.rafelsberger@elastic.co>"
],
"kibana": {
"version": "7.5.0",
"version": "7.5.1",
"templateVersion": "1.0.0"
},
"scripts": {
Expand Down

0 comments on commit 30f8bcb

Please sign in to comment.