Skip to content

Instantly share code, notes, and snippets.

@ptrovatelli
Last active March 13, 2020 21:55
Show Gist options
  • Save ptrovatelli/0ca8c68305398167d8fba9db7be33d0a to your computer and use it in GitHub Desktop.
Save ptrovatelli/0ca8c68305398167d8fba9db7be33d0a to your computer and use it in GitHub Desktop.
release description
@startuml
!pragma teoz true
== Release ==
participant "Dev branch" as devbranch order 10 #LightBlue
participant "RC branch" as rcbranch order 20 #YellowGreen
participant "Master branch" as master order 30 #99FF99
participant "Hotfix branch" as hotbranch order 40 #DarkSalmon
{startrc} devbranch -> rcbranch ++ #YellowGreen: Start release x.y.0
note left of devbranch
Evolutions
end note
rcbranch --> devbranch: Merge back bug fixes
rcbranch --> devbranch: Merge back more bug fixes
note right of rcbranch
Bug fixes
end note
rcbranch -> master: Merge
note right of master
Official release
- Tag "Rx.y.0"
- Deploy to DockerHub
end note
{endrc} rcbranch --> devbranch --: Release done
devbranch -> rcbranch: Start release x.(y+1).0
note left of devbranch
(increase x if non backward-
compatible API change)
end note
... ...
{startrc} <-> {endrc}: 4-8 weeks
== Hotfix ==
master -> hotbranch ++ #DarkSalmon: Create short-lived fix branch x.y.1
note right of hotbranch
Severe bug
to be corrected
end note
hotbranch -> master: Merge
note right of master
Official release
- Tag "Rx.y.1"
- Deploy to DockerHub
end note
hotbranch -> rcbranch: Merge
hotbranch -> devbranch --: Merge
@enduml
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment