🪵 Transition to Trunk-Based Development #836
untoldengine
started this conversation in
General
Replies: 1 comment
-
|
I like more this approach. Usually I work in the same way with the master / main branch. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hey everyone,
After spending some time dealing with repeated merge conflicts between
developandmaster, I’ve realized that our current Git-Flow branching model isn’t serving us well anymore. It’s become difficult to keep our branches — and more importantly, our documentation — in sync.To simplify things and better align our tooling with how we actually work, we’re switching to a Trunk-Based Development model.
🔄 What’s Changing
developbecomes the main trunkThis will be our default branch going forward.
All feature branches will branch off
developand merge back into it. (Business as usual - here)masterwill be deprecatedWe won’t maintain a separate
masterline anymore.There’s no need to manage release merges between
developandmaster.Releases will be defined by tags
Instead of merging to
master, we’ll create a tag (e.g.,v0.4.0) on the currentdevelopcommit when we’re ready to release.That tag will serve as the snapshot for documentation, changelogs, and builds.
Documentation versioning will be tied to release tags
This ensures the live docs always reflect the latest stable release, while the
developbranch continues to host the “Next” (in-progress) docs.No more out-of-sync versions!
✅ Why This Works Better for Us
develop), one source of truth.masteranddevelop.developto get the most up-to-date features and fixes.🚀 Summary
We’re moving to a Trunk-Based Development flow, where
developacts as the mainline and tags represent official releases.This approach matches our current pace of development and keeps the documentation, releases, and codebase in perfect sync.
Thanks to everyone for adapting to this change — it’ll make our workflow cleaner, faster, and more predictable in the long run.
– Harold
Beta Was this translation helpful? Give feedback.
All reactions