Skip to content

Commit

Permalink
Bump version to 7.15.0.
Browse files Browse the repository at this point in the history
walterra committed Jul 8, 2022
1 parent 9bf53a0 commit f0a2a49
Showing 5 changed files with 30 additions and 29 deletions.
38 changes: 19 additions & 19 deletions DEVELOPMENT.md
Original file line number Diff line number Diff line change
@@ -19,14 +19,14 @@ See the [kibana contributing guide](https://github.com/elastic/kibana/blob/maste
This is the process for producing a release for a new minor version that doesn't include any necessary changes due to changing Kibana APIs.

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

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

# Check out the release in Kibana
git checkout v7.14.0
git checkout v7.15.0

# Switch to updated node-js if necessary
nvm use
@@ -55,22 +55,22 @@ yarn kbn bootstrap
yarn build

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

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

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

# Start Kibana and test the UI if the plugin works.
# Use Kibana's `flights` sample dataset and create a milestones visualization.
@@ -81,15 +81,15 @@ cd ~/dev/kibana-7.x-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.14.0."
git tag v7.14.0
git push origin 7.14
git commit -m "Bump version to 7.15.0."
git tag v7.15.0
git push origin 7.15
git push --tags

# On Github, edit the new release at
# https://github.com/walterra/kibana-milestones-vis/releases/new?tag=v7.14.0
# Use `Kibana v7.14.0 compatibility release.` as the release text.
# Add the build file `kibanaMilestonesVis-7.14.0.zip` to the releases' binaries.
# https://github.com/walterra/kibana-milestones-vis/releases/new?tag=v7.15.0
# Use `Kibana v7.15.0 compatibility release.` as the release text.
# Add the build file `kibanaMilestonesVis-7.15.0.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/plugins/plugin_tmp
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -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.14.0/kibanaMilestonesVis-7.14.0.zip
bin/kibana-plugin install https://github.com/walterra/kibana-milestones-vis/releases/download/v7.15.0/kibanaMilestonesVis-7.15.0.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.14.0/kibanaMilestonesVis-7.14.0.zip
- Inside your kibana directory, run `bin/kibana-plugin install file:///<path-to-file>/kibanaMilestonesVis-7.14.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.15.0/kibanaMilestonesVis-7.15.0.zip
- Inside your kibana directory, run `bin/kibana-plugin install file:///<path-to-file>/kibanaMilestonesVis-7.15.0.zip`, then `npm run start`

## Usage

3 changes: 2 additions & 1 deletion kibana.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"id": "kibanaMilestonesVis",
"version": "kibana",
"version": "7.15.0",
"kibanaVersion": "kibana",
"server": true,
"ui": true,
"requiredPlugins": [
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.14.0",
"version": "7.15.0",
"private": false,
"description": "A d3 based timeline visualization kibana plugin.",
"main": "index.js",
@@ -26,7 +26,7 @@
"d3": "3.5.17",
"react": "^16.12.0",
"react-dom": "^16.12.0",
"react-milestones-vis": "^0.4.3-node14"
"react-milestones-vis": "^0.4.5-node14"
},
"resolutions": {
"lodash": "^4.17.21",
8 changes: 4 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
@@ -2805,10 +2805,10 @@ react-is@^17.0.1:
resolved "https://registry.npmjs.org/react-is/-/react-is-17.0.2.tgz"
integrity sha512-w2GsyukL62IJnlaff/nRegPQR94C/XXamvMWmSHRJ4y7Ts/4ocGRmTHvOs8PSE6pB3dWOrD/nueuU5sduBsQ4w==

react-milestones-vis@^0.4.3-node14:
version "0.4.3-node14"
resolved "https://registry.yarnpkg.com/react-milestones-vis/-/react-milestones-vis-0.4.3-node14.tgz#3aceaa01fc74d21b73d1fbdadadb638aae6cdb5a"
integrity sha512-RndezBJ6pO/8AnHn7Dbhs3F3msUMjF/dUayb0u3J/X81yoRvan67bu7gehvIFFliPl6pfkDfHt9oxhA37Nlsqg==
react-milestones-vis@^0.4.5-node14:
version "0.4.5-node14"
resolved "https://registry.yarnpkg.com/react-milestones-vis/-/react-milestones-vis-0.4.5-node14.tgz#489a3b01d5d1876f9a198666db786316c84d72cf"
integrity sha512-M4j5dMkN5gU7EwSS2yo6JL/OsK/ynj/Ro7cSTS+u6XrlG87bkcVrlOJGpaiLbwBU7yTX+5f1jWAq4mp86ab+/A==
dependencies:
d3-milestones "^1.4.2"

0 comments on commit f0a2a49

Please sign in to comment.