Staging for version increment automation#363
Staging for version increment automation#363ylwu-amzn merged 2 commits intoopensearch-project:1.xfrom
Conversation
Signed-off-by: pgodithi <pgodithi@amazon.com>
Signed-off-by: pgodithi <pgodithi@amazon.com>
|
Renaming to task updateVersion following opensearch-project/opensearch-plugin-template-java#32. |
|
|
||
| // updateVersion: Task to auto increment to the next development iteration | ||
| task updateVersion { | ||
| onlyIf { System.getProperty('newVersion') } |
There was a problem hiding this comment.
Where this newVersion will be set ? Where and when will this update version task will be executed?
There was a problem hiding this comment.
Hey @ylwu-amzn this task updateVersion task will called using a workflow from the build repo example ./gradlew updateVersion -DnewVersion=2.1.0-SNAPSHOT , this newVersion will be compared against core repo and will update the plugin files to increment the version.
There was a problem hiding this comment.
ylwu-amzn
left a comment
There was a problem hiding this comment.
LGTM. Just ask some question to learn more detail.
|
Hey @ylwu-amzn just checking back, if we are ok with PR, can we merge this? |
* Version increment automation Signed-off-by: pgodithi <pgodithi@amazon.com> * Version increment automation: task rename updateVersion Signed-off-by: pgodithi <pgodithi@amazon.com> (cherry picked from commit ef9763d)
Sure, merged. Thanks ! |
Signed-off-by: pgodithi pgodithi@amazon.com
Description
This is the staging PR for to execute workflows that auto raise the version increment PR's
Example: prudhvigodithi#2
Issues Resolved
Part of: opensearch-project/opensearch-build#1375
From solution: opensearch-project/opensearch-build#1375 (comment)
Related issue: #357
Check List
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.