Skip to content

Commit

Permalink
Update core plugins path after Sarat PR merged opensearch-project/Ope…
Browse files Browse the repository at this point in the history
…nSearch#3193

Signed-off-by: Peter Zhu <zhujiaxi@amazon.com>
  • Loading branch information
peterzhuamazon committed May 6, 2022
1 parent f2fd358 commit 01ecd47
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions vars/promoteTarArtifacts.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -78,9 +78,7 @@ void call(Map args = [:]) {
String pluginNameWithExt = pluginSubPath.split('/')[1]
String pluginName = pluginNameWithExt.replace('-' + revision + '.zip', '')
String pluginNameNoExt = pluginNameWithExt.replace('-' + revision, '')
// PluginFullPath keep using version not revision due to this bug:
// https://github.com/opensearch-project/OpenSearch/issues/3168
String pluginFullPath = ['plugins', pluginName, version].join('/')
String pluginFullPath = ['plugins', pluginName, revision].join('/')
s3Upload(
bucket: "${ARTIFACT_PRODUCTION_BUCKET_NAME}",
path: "releases/$pluginFullPath/",
Expand Down

0 comments on commit 01ecd47

Please sign in to comment.