Skip to content

Commit 6b29508

Browse files
problameBurningEnlightenment
authored andcommitted
docs: configuration: fix smv_released_pattern
1. It says `Everything except master branch`, so, it should include tags. 2. The colon in the negative regex match was probably a typo, as it prevents matching of the `master` branch. With that colon, none of the refs in my repo match and hence all refs are treated as not-released.
1 parent 2bb693e commit 6b29508

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/configuration.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ Here are some examples:
7171
smv_released_pattern = r'^tags/.*$' # Tags only
7272
smv_released_pattern = r'^heads/\d+\.\d+$' # Branches like "2.1"
7373
smv_released_pattern = r'^(tags/.*|heads/\d+\.\d+)$' # Branches like "2.1" and all tags
74-
smv_released_pattern = r'^(heads|remotes/[^/]+)/(?!:master).*$' # Everything except master branch
74+
smv_released_pattern = r'^(tags|heads|remotes/[^/]+)/(?!master).*$' # Everything except master branch
7575
7676
.. note::
7777

0 commit comments

Comments
 (0)