Skip to content

Commit a78a186

Browse files
committed
Automatically deploy tags to npm
1 parent af2ec1f commit a78a186

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

circle.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,3 +14,11 @@ test:
1414
post:
1515
- cp -R coverage $CIRCLE_ARTIFACTS/
1616
- codecov
17+
18+
deployment:
19+
publish:
20+
owner: segmentio
21+
# Works on e.g. `1.0.0-alpha.1`
22+
tag: /[0-9]+(\.[0-9]+)*(-.+)?/
23+
commands:
24+
- npm publish .

0 commit comments

Comments
 (0)