Skip to content

Latest commit

 

History

History
13 lines (8 loc) · 386 Bytes

File metadata and controls

13 lines (8 loc) · 386 Bytes

branch-utilities

🎯 Target runtime: es2023 (Node >= 20)

Utilities for branch info depending on env (GitHub Workflow or Local)

Stage Name Concept

the stageId is extracted from the branchname by the pattern /^#(\d+)-(.*)/

  • When Master --> master
  • When Local or nonPr github workflow --> xx#{stageId}
  • When Github PR --> pr#{stageId}