Skip to content

Instantly share code, notes, and snippets.

@dcolley
Created June 7, 2023 09:38
Show Gist options
  • Save dcolley/8b1e6bd32a3a55b660834e8d4ce8d009 to your computer and use it in GitHub Desktop.
Save dcolley/8b1e6bd32a3a55b660834e8d4ce8d009 to your computer and use it in GitHub Desktop.

Release Management

Goals

We need to release our tools and libraries in a way that is easy to use and contribute.

  • github.com for issues and pull requests
  • git for version control
  • Git branching model
  • Git Release management[?]

Branch vs Release

Git Branching Model

Branches:

  • master
    • production ready, latest stable release
    • default branch for git clone
    • merge from hotfix or release branches
    • no PRs?
  • hotfix branches
    • r0.1.0[-hotfix1]
    • bug fixes to master
    • merge from master
  • release branches
    • r0.1.0[-rc1] - release candidate
    • r0.2.0 - release branch
    • allows for bug fixes to be applied to a release
    • merge from develop
  • develop (could be called next)
    • latest development changes
    • merge from hotfix (forward-porting)
    • merge from feature branches
    • clone this branch for small changes and bug fixes
  • feature branches
    • new features in development that contain breaking changes
    • merge bugs from develop (from time to time, prior to merge to develop)

Git Release

Do we need this? We are not proposing to distribute binaries, so we don't need to tag releases. We should ship bootless binaries (with versions to match upstream)

Resources

@dcolley
Copy link
Author

dcolley commented Jun 8, 2023

ok, moved this to ibp-network/ibp-monitor#60

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment