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]>
(cherry picked from commit be7beb9)
  • Loading branch information
RyanL1997 authored and github-actions[bot] committed Jan 6, 2023
1 parent fa5dcf2 commit 6e369e1
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 @@ -540,6 +540,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 6e369e1

Please sign in to comment.