File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -68,18 +68,18 @@ Here are some examples:
6868
6969.. code-block :: python
7070
71- smv_released_pattern = r ' ^ tags/. * $ ' # Tags only
72- smv_released_pattern = r ' ^ heads/\d + \. \d + $ ' # Branches like "2.1"
73- smv_released_pattern = r ' ^ ( tags/. * | heads/\d + \. \d + ) $ ' # Branches like "2.1" and all tags
74- smv_released_pattern = r ' ^ ( tags| heads| remotes/[^ / ]+ ) /(?! master) . * $ ' # Everything except master branch
71+ smv_released_pattern = r ' ^ refs/ tags/. * $ ' # Tags only
72+ smv_released_pattern = r ' ^ refs/ heads/\d + \. \d + $ ' # Branches like "2.1"
73+ smv_released_pattern = r ' ^ refs/ ( tags/. * | heads/\d + \. \d + ) $ ' # Branches like "2.1" and all tags
74+ smv_released_pattern = r ' ^ refs/ ( tags| heads| remotes/[^ / ]+ ) /(?! master) . * $ ' # Everything except master branch
7575
7676 .. note ::
7777
7878 To list all refnames , you can use:
7979
8080 .. code-block :: bash
8181
82- git for-each-ref --format " %(refname)" | sed ' s/^refs\///g '
82+ git for-each-ref --format " %(refname)"
8383
8484
8585 Output Directory Format
You can’t perform that action at this time.
0 commit comments