Jump to content

How should I maintain seperate release channels for an app?

AlTech

So, I'm using GitHub to host and manage repositories.

 

What should I do if I want to be able to manage multiple release channels?

 

By release channels I mean things like Stable and Beta.

 

Cos I currently have all my code in the Main branch and I don't want the beta code to overwrite the stable branch.

 

Sorry if the answer is obvious, I've never dealt with multiple release channels with an app relating to github before.

 

Thanks :).

Judge a product on its own merits AND the company that made it.

How to setup MSI Afterburner OSD | How to make your AMD Radeon GPU more efficient with Radeon Chill | (Probably) Why LMG Merch shipping to the EU is expensive

Oneplus 6 (Early 2023 to present) | HP Envy 15" x360 R7 5700U (Mid 2021 to present) | Steam Deck (Late 2022 to present)

 

Mid 2023 AlTech Desktop Refresh - AMD R7 5800X (Mid 2023), XFX Radeon RX 6700XT MBA (Mid 2021), MSI X370 Gaming Pro Carbon (Early 2018), 32GB DDR4-3200 (16GB x2) (Mid 2022

Noctua NH-D15 (Early 2021), Corsair MP510 1.92TB NVMe SSD (Mid 2020), beQuiet Pure Wings 2 140mm x2 & 120mm x1 (Mid 2023),

Link to comment
Share on other sites

Link to post
Share on other sites

Branch and merge. Have your main branch be stable like it should be. Have your current beta development branch as a clone of the master. When your changes are stable merge those stable changes back into the the master branch.

CPU: Intel i7 - 5820k @ 4.5GHz, Cooler: Corsair H80i, Motherboard: MSI X99S Gaming 7, RAM: Corsair Vengeance LPX 32GB DDR4 2666MHz CL16,

GPU: ASUS GTX 980 Strix, Case: Corsair 900D, PSU: Corsair AX860i 860W, Keyboard: Logitech G19, Mouse: Corsair M95, Storage: Intel 730 Series 480GB SSD, WD 1.5TB Black

Display: BenQ XL2730Z 2560x1440 144Hz

Link to comment
Share on other sites

Link to post
Share on other sites

On 11/10/2017 at 8:01 AM, Cruorzy said:

There are several documents on how to use git properly and to it's full extend, i learned from http://nvie.com/posts/a-successful-git-branching-model/

I would advise to read it and modify it to your workload and work behavior.

 

On 11/9/2017 at 11:32 PM, trag1c said:

Branch and merge. Have your main branch be stable like it should be. Have your current beta development branch as a clone of the master. When your changes are stable merge those stable changes back into the the master branch.

ok. Any advice on how to version the Beta release channel if I'm not entirely sure what version number it'll be going towards (e.g. next major release could be 0.23.0 or 1.0.0, i really don't know.)

 

I sort have a naming convention I'm happy with, it's just that  it would be difficult to have program be able to check for updates unless I wrote code which was able to convert a standard version number (in the app) to the pre-release format I like.

 

Thanks

Judge a product on its own merits AND the company that made it.

How to setup MSI Afterburner OSD | How to make your AMD Radeon GPU more efficient with Radeon Chill | (Probably) Why LMG Merch shipping to the EU is expensive

Oneplus 6 (Early 2023 to present) | HP Envy 15" x360 R7 5700U (Mid 2021 to present) | Steam Deck (Late 2022 to present)

 

Mid 2023 AlTech Desktop Refresh - AMD R7 5800X (Mid 2023), XFX Radeon RX 6700XT MBA (Mid 2021), MSI X370 Gaming Pro Carbon (Early 2018), 32GB DDR4-3200 (16GB x2) (Mid 2022

Noctua NH-D15 (Early 2021), Corsair MP510 1.92TB NVMe SSD (Mid 2020), beQuiet Pure Wings 2 140mm x2 & 120mm x1 (Mid 2023),

Link to comment
Share on other sites

Link to post
Share on other sites

I try to keep to the Semantic Versioning rules.

Haven't read it full out but 

 

Quote

Given a version number MAJOR.MINOR.PATCH, increment the:

  1. MAJOR version when you make incompatible API changes,
  2. MINOR version when you add functionality in a backwards-compatible manner, and
  3. PATCH version when you make backwards-compatible bug fixes.

Additional labels for pre-release and build metadata are available as extensions to the MAJOR.MINOR.PATCH format.

Said enough for me.

 

Never had to implement version handling in a heavy basis since i'm mostly work on my own.

Quote or mention me if not feel ignored 

Link to comment
Share on other sites

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×