Skip to content

Commit

Permalink
Switch 2.x build to 2.7.0 (#119)
Browse files Browse the repository at this point in the history
Also, backported the plugin version logic from main branch.

Signed-off-by: Michael Froh <[email protected]>
  • Loading branch information
msfroh authored Mar 16, 2023
1 parent 37a5142 commit d7f55d6
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ publishing {
}
}
opensearchplugin {
name "opensearch-${pluginName}-${opensearch_version}.0"
name "opensearch-${pluginName}-${plugin_version}.0"
description pluginDescription
classname "${projectPath}.${pathToPlugin}.${pluginClassName}"
licenseFile rootProject.file('LICENSE')
Expand All @@ -53,7 +53,13 @@ validateNebulaPom.enabled = false

buildscript {
ext {
opensearch_version = "2.6.0"
plugin_version = "2.7.0"
snapshot = true // Set to false on release
if (snapshot) {
opensearch_version = plugin_version + "-SNAPSHOT"
} else {
opensearch_version = plugin_version
}
}

repositories {
Expand Down

0 comments on commit d7f55d6

Please sign in to comment.