Skip to content

Commit fc6a39f

Browse files
authored
Merge pull request #82 from jkschneider/patch-1
Fix branch patterns in README
2 parents c7c8eb6 + c772cd9 commit fc6a39f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -56,9 +56,9 @@ All tasks default to bumping the minor version.
5656

5757
| Property | Type | Default | Description |
5858
| ----------------------- | ------------- | ------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
59-
| releaseBranchPatterns | `Set<String>` | `[/master/, /HEAD/, /(release(-|\/))?\d+(\.\d+)?\.x/, /v?\d+\.\d+\.\d+/]` | Branch patterns that are acceptable to release from. The default pattern will match things like `master`, `1.2.x`, `release-42.x`, `release/2.x`, `v1.2.3`. If the set is empty releases will be possible from any branch that doesn't match `excludeBranchPatterns`. |
60-
| excludeBranchPatterns | `Set<String>` | `[]` | Branch patterns that you cannot release from. If a branch matches both `releaseBranchPatterns` and `excludeBranchPatterns` it will be excluded. |
61-
| shortenedBranchPattern | `String` | `/(?:(?:bugfix|feature|hotfix|release)(?:-|\/))?(.+)/` | Branch `widget1` will append `widget1` to snapshot version numbers, and branch `(feature|bugfix|release|hotfix)/widget2` will append `widget2` to snapshot version numbers. You may configure this field, the regex is expected to have exactly one capture group. |
59+
| releaseBranchPatterns | `Set<String>` | [master, HEAD, (release(-&#124;\/))?\d+(\.\d+)?\.x, v?\d+\.\d+\.\d+] | Branch patterns that are acceptable to release from. The default pattern will match things like `master`, `1.2.x`, `release-42.x`, `release/2.x`, `v1.2.3`. If the set is empty releases will be possible from any branch that doesn't match `excludeBranchPatterns`. |
60+
| excludeBranchPatterns | `Set<String>` | [] | Branch patterns that you cannot release from. If a branch matches both `releaseBranchPatterns` and `excludeBranchPatterns` it will be excluded. |
61+
| shortenedBranchPattern | `String` | (?:(?:bugfix&#124;feature&#124;hotfix&#124;release)(?:-&#124;\/))?(.+) | Branch `widget1` will append `widget1` to snapshot version numbers, and branch `(feature|bugfix|release|hotfix)/widget2` will append `widget2` to snapshot version numbers. You may configure this field, the regex is expected to have exactly one capture group. |
6262

6363

6464
| Method | Arguments | Description |

0 commit comments

Comments
 (0)