We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a34e8d9 commit d16d4ffCopy full SHA for d16d4ff
.github/workflows/security-knn-tests.yml
@@ -28,8 +28,7 @@ jobs:
28
- id: plugin-availability-check
29
name: "plugin check"
30
run: |
31
- opensearch_version=$(grep "System.getProperty(\"opensearch.version\", \"" build.gradle | grep '\([0-9]\|[.]\)\{5\}' -o)
32
- opensearch_version=$opensearch_version".0-SNAPSHOT"
+ opensearch_version=$(./gradlew properties | grep -E '^version:' | awk '{print $2}')
33
# we publish build artifacts to the below url
34
sec_plugin_url="https://aws.oss.sonatype.org/content/repositories/snapshots/org/opensearch/plugin/opensearch-security/"$opensearch_version"/"
35
sec_st=$(curl -s -o /dev/null -w "%{http_code}" $sec_plugin_url)
0 commit comments