Skip to content

Commit

Permalink
Move version out of gradle.properties and resolve dynamically. (#272)
Browse files Browse the repository at this point in the history
  • Loading branch information
dblock authored Dec 18, 2021
1 parent f071854 commit 6323a53
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 14 deletions.
1 change: 1 addition & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ plugins {

allprojects {
group = "org.opensearch"
version = "${opensearch_version}" - "-SNAPSHOT" + ".0"
if (isSnapshot) {
version += "-SNAPSHOT"
}
Expand Down
12 changes: 0 additions & 12 deletions gradle.properties

This file was deleted.

4 changes: 2 additions & 2 deletions src/test/resources/security/scripts/SecurityAdminWrapper.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@

BUILD_DIR=$1
LEADER_CONFIG_DIR=$BUILD_DIR/testclusters/leaderCluster-0/config
LEADER_PLUGIN_DIR=$BUILD_DIR/testclusters/leaderCluster-0/distro/1.2.2-INTEG_TEST/plugins/opensearch-security/
LEADER_PLUGIN_DIR=$BUILD_DIR/testclusters/leaderCluster-0/distro/1.2.3-INTEG_TEST/plugins/opensearch-security/
FOLLOWER_CONFIG_DIR=$BUILD_DIR/testclusters/followCluster-0/config
FOLLOWER_PLUGIN_DIR=$BUILD_DIR/testclusters/followCluster-0/distro/1.2.2-INTEG_TEST/plugins/opensearch-security/
FOLLOWER_PLUGIN_DIR=$BUILD_DIR/testclusters/followCluster-0/distro/1.2.3-INTEG_TEST/plugins/opensearch-security/

"$LEADER_PLUGIN_DIR/tools/securityadmin.sh" -p 9300 \
-cd "$LEADER_PLUGIN_DIR/securityconfig" \
Expand Down

0 comments on commit 6323a53

Please sign in to comment.