Skip to content

Commit

Permalink
Update knn with dynamic version assignment (#349)
Browse files Browse the repository at this point in the history
Signed-off-by: Peter Zhu <[email protected]>
  • Loading branch information
peterzhuamazon authored Apr 1, 2022
1 parent 32c6005 commit d9a9f59
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -427,7 +427,7 @@ afterEvaluate {
ospackage {
packageName = "${name}"
release = isSnapshot ? "0.1" : '1'
version = "${project.version}" - "-SNAPSHOT"
version = "${project.version}"

into '/usr/share/opensearch/plugins'
from(zipTree(bundlePlugin.archivePath)) {
Expand All @@ -441,7 +441,7 @@ afterEvaluate {

requires('opensearch', versions.opensearch, EQUAL)
//TODO: Use default knn lib version for now, fix will be compare with version that is used in build step.
requires("opensearch-knnlib", "1.3.0.0", EQUAL)
requires("opensearch-knnlib", version, EQUAL)
packager = 'Amazon'
vendor = 'Amazon'
os = 'LINUX'
Expand Down

0 comments on commit d9a9f59

Please sign in to comment.