Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 65cc524

Browse files
committedAug 17, 2018
Enable tag based gating for CI publishing
1 parent 430670a commit 65cc524

File tree

1 file changed

+18
-2
lines changed

1 file changed

+18
-2
lines changed
 

‎.circleci/config.yml

+18-2
Original file line numberDiff line numberDiff line change
@@ -3,22 +3,38 @@ workflows:
33
version: 2
44
install-test-publish:
55
jobs:
6-
- install-dependencies
6+
- install-dependencies:
7+
filters:
8+
tags:
9+
only: /.*/
710
- test:
11+
filters:
12+
tags:
13+
only: /.*/
814
requires:
915
- install-dependencies
1016
- lint:
17+
filters:
18+
tags:
19+
only: /.*/
1120
requires:
1221
- install-dependencies
1322
- approve-publish-npm:
1423
type: approval
1524
filters:
25+
tags:
26+
only: /v[0-9]+(\.[0-9]+)*/
1627
branches:
17-
only: master
28+
ignore: /.*/
1829
requires:
1930
- test
2031
- lint
2132
- publish-npm:
33+
filters:
34+
tags:
35+
only: /v[0-9]+(\.[0-9]+)*/
36+
branches:
37+
ignore: /.*/
2238
requires:
2339
- approve-publish-npm
2440

0 commit comments

Comments
 (0)