Skip to content
This repository was archived by the owner on Sep 3, 2022. It is now read-only.

Commit 8b234b6

Browse files
authored
Merge pull request #85 from segmentio/publish-tag-only
Publish only on version tags
2 parents 2e8d353 + 7f82a78 commit 8b234b6

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

.circleci/config.yml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,18 +18,22 @@ jobs:
1818
docker:
1919
- image: circleci/node:4-browsers
2020
steps:
21+
- checkout
2122
- attach_workspace: { at: . }
2223
- run: npm publish .
2324
workflows:
2425
version: 2
2526
test_and_publish:
2627
jobs:
27-
- test
28-
- publish:
28+
- test:
29+
filters:
30+
tags:
31+
only: /.*/
32+
- deploy:
2933
requires:
3034
- test
3135
filters:
3236
tags:
3337
only: /[0-9]+(\.[0-9]+)*(-.+)?/
3438
branches:
35-
only: master
39+
ignore: /.*/

0 commit comments

Comments
 (0)