You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you don't specify the regex, the built-in for that branch config will be
@@ -837,9 +844,9 @@ The pre-release label to use for this branch. Use the value `{BranchName}` as a
837
844
insert the value of the named group `BranchName` from the [regular expression](#regex).
838
845
839
846
For example: branch `feature/foo` would become a pre-release label
840
-
of `alpha.foo` with `label: 'alpha.{BranchName}'` and `regex: '^features?[/-](?<BranchName>.+)'`.
847
+
of `alpha.foo` with `label: 'alpha.{BranchName}'` and `regex: '^features?[\/-](?<BranchName>.+)'`.
841
848
842
-
Another example: branch `features/sc-12345/some-description` would become a pre-release label of `sc-12345` with `label: '{StoryNo}'` and `regex: '^features?[/-](?<StoryNo>sc-\d+)[-/].+'`.
849
+
Another example: branch `features/sc-12345/some-description` would become a pre-release label of `sc-12345` with `label: '{StoryNo}'` and `regex: '^features?[\/-](?<StoryNo>sc-\d+)[-/].+'`.
843
850
844
851
**Note:** To clear a default use an empty string: `label: ''`
845
852
@@ -871,25 +878,28 @@ This branch related property controls the behvior whether to use the tagged (val
871
878
### label-number-pattern
872
879
873
880
Pull requests require us to extract the pre-release number out of the branch
874
-
name so `refs/pulls/534/merge` builds as `PullRequest.534`. This is a regex with
875
-
a named capture group called `number`.
876
-
877
-
If the branch `mode` is set to `ContinuousDeployment`, then the extracted
878
-
`number`is appended to the name of the pre-release label and the number portion
879
-
is the number of commits since the last label. This enables consecutive commits to
880
-
the pull request branch to generate unique full semantic version numbers when
881
-
the branch is configured to use ContinuousDeployment mode.
881
+
name so `refs/pull/534/merge` builds as `PullRequest534`. This is a regex with
If you don't specify the regex, the built-in for that branch config will be
@@ -441,9 +448,9 @@ The pre-release label to use for this branch. Use the value `{BranchName}` as a
441
448
insert the value of the named group `BranchName` from the [regular expression](#regex).
442
449
443
450
For example: branch `feature/foo` would become a pre-release label
444
-
of `alpha.foo` with `label: 'alpha.{BranchName}'` and `regex: '^features?[/-](?<BranchName>.+)'`.
451
+
of `alpha.foo` with `label: 'alpha.{BranchName}'` and `regex: '^features?[\/-](?<BranchName>.+)'`.
445
452
446
-
Another example: branch `features/sc-12345/some-description` would become a pre-release label of `sc-12345` with `label: '{StoryNo}'` and `regex: '^features?[/-](?<StoryNo>sc-\d+)[-/].+'`.
453
+
Another example: branch `features/sc-12345/some-description` would become a pre-release label of `sc-12345` with `label: '{StoryNo}'` and `regex: '^features?[\/-](?<StoryNo>sc-\d+)[-/].+'`.
447
454
448
455
**Note:** To clear a default use an empty string: `label: ''`
449
456
@@ -475,25 +482,28 @@ This branch related property controls the behvior whether to use the tagged (val
475
482
### label-number-pattern
476
483
477
484
Pull requests require us to extract the pre-release number out of the branch
478
-
name so `refs/pulls/534/merge` builds as `PullRequest.534`. This is a regex with
479
-
a named capture group called `number`.
480
-
481
-
If the branch `mode` is set to `ContinuousDeployment`, then the extracted
482
-
`number`is appended to the name of the pre-release label and the number portion
483
-
is the number of commits since the last label. This enables consecutive commits to
484
-
the pull request branch to generate unique full semantic version numbers when
485
-
the branch is configured to use ContinuousDeployment mode.
485
+
name so `refs/pull/534/merge` builds as `PullRequest534`. This is a regex with
0 commit comments