diff --git a/build.gradle b/build.gradle index 46b13d098c..793e735d77 100644 --- a/build.gradle +++ b/build.gradle @@ -543,5 +543,10 @@ task updateVersion { } } ant.replaceregexp(file:'build.gradle', match: '"opensearch.version", "\\d.*"', replace: '"opensearch.version", "' + newVersion.tokenize('-')[0] + '-SNAPSHOT"', flags:'g', byline:true) + ant.replaceregexp(match: 'OPENSEARCH_VERSION: .*', replace: 'OPENSEARCH_VERSION: ' + newVersion, flag:'g', byline:true){ + fileset(dir projectDir) { + include(name: "workflows/plugin_install.yml") + } + } } }