Semantic versioning & tagging releases
Apply Semantic Versioning (MAJOR.MINOR.PATCH), create annotated git tags , and reference versions in SwiftPM dependencies clearly.
What is SemVer?
SemVer = MAJOR.MINOR.PATCH.
- MAJOR: breaking changes
- MINOR: new features, backward compatible
- PATCH: bug fixes, docs, small improvements
When to bump
Choose the bump:
- Remove/rename public API → MAJOR
- Add new API without breaking → MINOR
- Internal refactors / bug fixes → PATCH
All lessons in this course
- Library vs executable packages
- Semantic versioning & tagging releases
- CI basics with swift test and artifacts