Skip to content

Commit c7ca6ce

Browse files
committed
Fix pipeline tag matching
1 parent 932fe7e commit c7ca6ce

File tree

1 file changed

+5
-7
lines changed

1 file changed

+5
-7
lines changed

.circleci/config.yml

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -94,19 +94,17 @@ workflows:
9494
- test_go:
9595
requires: [ build_node ]
9696
release:
97-
when:
98-
matches: { pattern: /^v.*/ , value: << pipeline.git.tag >> }
9997
jobs:
100-
- build_node
98+
- build_node:
99+
filters: { branches: { ignore: /.*/ }, tags: { only: /^v.*/ } }
101100
- build_go:
102101
requires: [ build_node ]
102+
filters: { branches: { ignore: /.*/ }, tags: { only: /^v.*/ } }
103103
- publish_gh:
104104
requires: [ build_go ]
105+
filters: { branches: { ignore: /.*/ }, tags: { only: /^v.*/ } }
105106
docker:
106-
when:
107-
or:
108-
- matches: { pattern: /^v.*/ , value: << pipeline.git.tag >> }
109-
- matches: { pattern: 'master' , value: << pipeline.git.branch >> }
110107
jobs:
111108
- docker:
112109
context: docker hub
110+
filters: { branches: { only: master }, tags: { only: /^v.*/ } }

0 commit comments

Comments
 (0)