Skip to content

Commit

Permalink
Updated version number to 0.1.1 in README.md, pom.xml, and .travis.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Mark Khazin committed Dec 24, 2019
1 parent 8dc5888 commit eae9d88
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ deploy:
api_key:
secure: $GITHUB_API_KEY
skip_cleanup: true
file: target/releases/analysis-homoglyph-0.1.1.zip
file: target/releases/analysis-homoglyph-0.2.0.zip
on:
tags: true
script:
Expand Down
9 changes: 5 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,14 @@ The token 'hello' will be replaced with the following tokens:
### Elasticsearch version compatibility
| Plugin version | Elasticsearch version |
|------------------|-----------------------|
| 0.2.0 | 7.3.1 |
| 0.1.1 | 7.3.1 |
| 0.1.0 | 7.3.1 |

## Installation
To install the plugin on an Elasticsearch node make sure you are in the Elasticsearch directory and then run:
```
bin/elasticsearch-plugin install https://github.com/intsights/elasticsearch-analysis-homoglyph/releases/download/v0.1.1/analysis-homoglyph-0.1.1.zip
bin/elasticsearch-plugin install https://github.com/intsights/elasticsearch-analysis-homoglyph/releases/download/v0.2.0/analysis-homoglyph-0.2.0.zip
```

You can verify the plugin has been installed by running:
Expand All @@ -41,12 +42,12 @@ Save the following in a Dockerfile:
```
FROM docker.elastic.co/elasticsearch/elasticsearch:7.3.1
RUN /usr/share/elasticsearch/bin/elasticsearch-plugin install https://github.com/intsights/elasticsearch-analysis-homoglyph/releases/download/v0.1.1/analysis-homoglyph-0.1.1.zip
RUN /usr/share/elasticsearch/bin/elasticsearch-plugin install https://github.com/intsights/elasticsearch-analysis-homoglyph/releases/download/v0.2.0/analysis-homoglyph-0.2.0.zip
```
Then run:
```
docker build -f /path/to/Dockerfile -t elaticsearch-with-homoglyph-plugin:0.1.1 .
docker run -p 9200:9200 -p 9300:9300 -e "discovery.type=single-node" elaticsearch-with-homoglyph-plugin:0.1.1
docker build -f /path/to/Dockerfile -t elaticsearch-with-homoglyph-plugin:0.2.0 .
docker run -p 9200:9200 -p 9300:9300 -e "discovery.type=single-node" elaticsearch-with-homoglyph-plugin:0.2.0
```
Depending on your system, you might need to run the Docker with `sudo`

Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>com.intsights.elasticsearch.plugin.analysis</groupId>
<artifactId>analysis-homoglyph</artifactId>
<version>0.1.1</version>
<version>0.2.0</version>
<packaging>jar</packaging>
<properties>
<elasticsearch.version>7.3.1</elasticsearch.version>
Expand Down

0 comments on commit eae9d88

Please sign in to comment.