We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9b1284d commit 7dc0f03Copy full SHA for 7dc0f03
cake/versioning.cake
@@ -77,6 +77,10 @@ public class BuildVersion
77
78
string branchName = _gitVersion.BranchName;
79
80
+ // Treat version3 branch as an alternate "main"
81
+ if (branchName == "version3")
82
+ label = "dev";
83
+
84
// We don't currently use this pattern, but check in case we do later.
85
if (branchName.StartsWith("feature/"))
86
branchName = branchName.Substring(8);
0 commit comments