Skip to content

Commit 2dd24b9

Browse files
committed
ci: make regex for circle ci stricter
1 parent b256ba5 commit 2dd24b9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.circleci/config.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,14 @@ on_main_or_tag_filter: &on_main_or_tag_filter
77
branches:
88
only: main
99
tags:
10-
only: /^v.+/
10+
only: /^v\d+\.\d+\.\d+$/
1111

1212
on_tag_filter: &on_tag_filter
1313
filters:
1414
branches:
1515
ignore: /.*/
1616
tags:
17-
only: /^v.+/
17+
only: /^v\d+\.\d+\.\d+$/
1818

1919
orbs:
2020
path-filtering: circleci/[email protected]

0 commit comments

Comments
 (0)