cranko
cranko copied to clipboard
Validate Git history continuity in CI stages
Upon apply-versions, check:
- That current origin
rctip is an ancestor of newrctip - That current origin
releasemain-dev commit is an ancestor of newrcmain-dev commit
(where "main-dev" commit is the commit from the main-dev branch used as the direct basis for the rc and release commits ... which we can discover by looking at the rc and release commit parents, knowing how those branches are created.)
Also, upon confirm, check that origin rc main-dev commit is an ancestor of HEAD, I think?