Skip to content

Commit 7dc0f03

Browse files
committed
Create dev release when merging into version3 branch
1 parent 9b1284d commit 7dc0f03

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

cake/versioning.cake

+4
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,10 @@ public class BuildVersion
7777

7878
string branchName = _gitVersion.BranchName;
7979

80+
// Treat version3 branch as an alternate "main"
81+
if (branchName == "version3")
82+
label = "dev";
83+
8084
// We don't currently use this pattern, but check in case we do later.
8185
if (branchName.StartsWith("feature/"))
8286
branchName = branchName.Substring(8);

0 commit comments

Comments
 (0)