Skip to content

Commit

Permalink
Add script for workflow version increment (#2374) (#2386)
Browse files Browse the repository at this point in the history
* Add script for workflow version increment

Signed-off-by: Ryan Liang <[email protected]>
(cherry picked from commit be7beb9)
  • Loading branch information
opensearch-trigger-bot[bot] authored Jan 6, 2023
1 parent 6a40584 commit 634c020
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -535,6 +535,7 @@ task updateVersion {
fileset(dir: projectDir) {
// Include the required files that needs to be updated with new Version
include(name: "bwc-test/build.gradle")
include(name: ".github/workflows/plugin_install.yml")
}
}
ant.replaceregexp(file:'build.gradle', match: '"opensearch.version", "\\d.*"', replace: '"opensearch.version", "' + newVersion.tokenize('-')[0] + '-SNAPSHOT"', flags:'g', byline:true)
Expand Down

0 comments on commit 634c020

Please sign in to comment.