Designing and Implementing Microsoft DevOps Solutions — Question 47
You use GitHub to host container packages that use Semantic Versioning (SemVer).
You have an app named App1. The current version of App1 is 11.2.0.
You change the code of App1 to fix a bug that was introduced in version 10.5.1.
Which version number should you assign to the release?
Answer options
- A. 10.5.1-PATCH
- B. 11.2.1
- C. 10.5.2
- D. 10.6.0
Correct answer: B
Explanation
The correct version number is 11.2.1 because the change made is a patch for a bug while the major version remains the same. Options A, C, and D are incorrect as they imply changes to earlier versions, which do not reflect the current state of App1, and do not follow the SemVer rules regarding patching in the latest version.