Skip to content

Commit f3b3b6c

Browse files
committed
Add all a.b branches as buildable remote targets for release.
1 parent 331438e commit f3b3b6c

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

.teamcity/settings.kts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,13 @@ project {
3535
text("github_repository_name", "securejarhandler", label = "The github repository name. Used to connect to it in VCS Roots.", description = "This is the repository slug on github. So for example `securejarhandler` or `MinecraftForge`. It is interpolated into the global VCS Roots.", display = ParameterDisplay.HIDDEN, allowEmpty = false)
3636
text("env.PUBLISHED_JAVA_ARTIFACT_ID", "securejarhandler", label = "Published artifact id", description = "The maven coordinate artifact id that has been published by this build. Can not be empty.", allowEmpty = false)
3737
text("env.PUBLISHED_JAVA_GROUP", "cpw.mods", label = "Published group", description = "The maven coordinate group that has been published by this build. Can not be empty.", allowEmpty = false)
38+
text("git_branch_spec", """
39+
+:refs/heads/(%git_main_branch%)
40+
+:refs/heads/(main*)
41+
+:refs/heads/(master*)
42+
+:refs/heads/(*.*)
43+
+:refs/heads/(develop|release|staging|main|master)
44+
""".trimIndent(), label = "The branch specification of the repository", description = "By default all main branches are build by the configuration. Modify this value to adapt the branches build.", display = ParameterDisplay.HIDDEN, allowEmpty = true)
3845
}
3946

4047
features {

0 commit comments

Comments
 (0)