-
Notifications
You must be signed in to change notification settings - Fork 221
Update package version on automatic API revision #7819
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update package version on automatic API revision #7819
Conversation
|
@chidozieononiwu @maririos I have pushed additional changes to update label and also to add a new package version param to send actual package version instead of daily build alpha version from CI. I have fixed another issue in copying approval status to automatic review. |
|
|
||
| [HttpPost] | ||
| public async Task<ActionResult> UploadAutoReview([FromForm] IFormFile file, string label, bool compareAllRevisions = false) | ||
| public async Task<ActionResult> UploadAutoReview([FromForm] IFormFile file, string label, bool compareAllRevisions = false, string packageVersion = null) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
would it be helpful to document in which cases the function expects packageVersion not to be null?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I added it as null for now until all individual caller from language repo starts to send it. Once change is merged to individual repos, I will change this as required param.
Update package version on API revision even if API surface matches to reflect correct package version info. This change along with tagging a revision after package release will ensure that package version is updated correctly(A separate change from updating package version).