Skip to content

Commit

Permalink
Version increment automation: task rename updateVersion
Browse files Browse the repository at this point in the history
Signed-off-by: pgodithi <pgodithi@amazon.com>
  • Loading branch information
prudhvigodithi committed Jul 12, 2022
1 parent 53f139e commit ef07544
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions notifications/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -106,8 +106,8 @@ evaluationDependsOnChildren()

check.dependsOn subprojects*.check

// versionIncrement: Task to auto increment to the next development iteration
task versionIncrement {
// updateVersion: Task to auto increment to the next development iteration
task updateVersion {
onlyIf { System.getProperty('newVersion') }
doLast {
ext.newVersion = System.getProperty('newVersion')
Expand All @@ -122,4 +122,4 @@ task versionIncrement {
// Match key opensearchDashboardsVersion in JSON files.
ant.replaceregexp(file:'../dashboards-notifications/opensearch_dashboards.json', match:'"opensearchDashboardsVersion": "\\d+.\\d+.\\d+', replace:'"opensearchDashboardsVersion": ' + '"' + newVersion.tokenize('-')[0], flags:'g', byline:true)
}
}
}

0 comments on commit ef07544

Please sign in to comment.