12/14/2023 0 Comments Git tag semantic versioning![]() Ok, now that we have our basic concepts out there, let’s get to our walk-through. During development there is also a list of unreleased changes. Keep a changelog is a practice of keeping a human-curated file (we use CHANGELOG.md) which lists all the notable changes to the project, grouped by their release. Where 1 is the major version and should only change for major updates that are not backwards compatible, 4 in the minor version and should change when new backwards-compatible features are added, and 9 is the patch number which should change when bug fixes are made. At its most basic, SemVer breaks down a version into three components, the major, minor, and patch numbers, i.e.: 1.4.9 It is designed to allow systems to programmatically specify the versions of their dependencies and prevent unexpected breaking changes. It was originally authored by Tom Preston-Werner, inventor of Gravatars and cofounder of GitHub. SemVer is a standard for versioning your software. hotfix/fix-prod-bug, which you merge back into master. To do a hotfix on production, you make a hotfix branch off of master, i.e. release/1.4.9, which you then merge to master. To prep a new release for deployment, you make a release branch off of develop i.e. To make new features, you branch off of develop into feature branches i.e. You really should go read the post to learn about it, but the high-level idea is that there are two long-lived branches in your git repo - master, which is always what is deployed in production, and develop, which is the latest and greatest development code. ![]() He also did a git extension, which is now developed at the gitflow-avh repo. ![]() Git Flow is a git branching model developed initially by Vincent Driessen in a blog post. In this post, I will briefly discuss these three concepts and then provide a complete walk-through of how we would apply them to a typical software development project. While this is a large topic with many considerations, our go-to approach for new projects includes adopting three related standards: Here at Ordinary Experts, we love discussing git branching strategies and how they relate to the software development process. How we use Git Flow, SemVer, and CHANGELOG.md ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |