Skip to content

Commit

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

Signed-off-by: Ryan Liang <[email protected]>
  • Loading branch information
RyanL1997 authored Jan 6, 2023
1 parent 8ee28d1 commit be7beb9
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 @@ -644,6 +644,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 be7beb9

Please sign in to comment.