Semantic Versioning with Tags
Apply semantic versioning principles to your project and use Git tags to mark significant points in your history.
What is Software Versioning?
Imagine building a house. You wouldn't want to use old blueprints mixed with new ones, right?
- Software versioning helps keep track of changes in your code.
- It gives each release a unique identifier, like a version number.
- This helps developers and users understand what's new, what's fixed, and what might break.
It's crucial for managing dependencies and communicating changes effectively.
Introducing Semantic Versioning (SemVer)
Semantic Versioning (or SemVer) is a widely adopted standard for assigning version numbers.
It uses a simple MAJOR.MINOR.PATCH format:
- MAJOR: For big, breaking changes.
- MINOR: For new features that are backward-compatible.
- PATCH: For small bug fixes, also backward-compatible.
This system clearly communicates the impact of a new release.
All lessons in this course
- Semantic Versioning with Tags
- Creating and Managing Releases
- Release Branches & Hotfixes
- Generating Changelogs and Release Notes