Skip to content

Commit

Permalink
Merge pull request #105 from cybozu/chore-elasticsearch-7.17.10
Browse files Browse the repository at this point in the history
chore: Update Elasticsearch 7.17.10
  • Loading branch information
yokotaso committed May 23, 2023
2 parents 0973eaf + 3a9cbfa commit e5194ee
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 2 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,5 @@ jobs:
run: ./gradlew spotlessCheck test
- name: build plugin
run: ./gradlew clean zipPlugin
- name: run plugin-descriptor test
run: bash etc/es-plugin-version-test.sh
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ targetCompatibility = 17

apply plugin: 'distribution'

def ElasticsearchVersion = '7.17.7'
def ElasticsearchVersion = '7.17.10'
version = '0.0.1'

dependencies {
Expand Down
7 changes: 7 additions & 0 deletions etc/es-plugin-version-test.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@

set -ex
VERSION=$(grep "ElasticsearchVersion = " build.gradle | awk '{print $4}' | sed -e "s/'//g")

test -n "${VERSION}"

test $(grep "elasticsearch.version=${VERSION}" src/main/dist/plugin-descriptor.properties | wc -l) -eq 1
2 changes: 1 addition & 1 deletion src/main/dist/plugin-descriptor.properties
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ classname=com.github.yokotaso.elasticsearch.plugin.analysis.classic.ckj.ClassicC
java.version=17
#
# 'elasticsearch.version': version of elasticsearch compiled against
elasticsearch.version=7.17.7
elasticsearch.version=7.17.10
### optional elements for plugins:
#
# 'extended.plugins': other plugins this plugin extends through SPI
Expand Down

0 comments on commit e5194ee

Please sign in to comment.