liauli / abang-bakso

0 stars 0 forks source link

[Spike] Branching Strategy #9

Open liauli opened 4 weeks ago

liauli commented 4 weeks ago

Research for branching

liauli commented 4 weeks ago

Trunk based strategy with release branching

  1. frequent merge features to main CICD: lint, test, security (?)
  2. when want to release, run github action with input x.x.x which will trigger:
    • create tag
    • create release/x.x.x
    • run fastlane to test and push to testflight
  3. Bug fix will go merge through PRs to release/x.x.x. any merge to release/x.x.x will trigger fastlane and push to testflight
  4. when done testing, run a github action to push the final build to app store using fastlane
  5. when finished everything, run a github action to create PR to merge back to MR

for a simple project this should be sufficient