We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f4a4125 commit 02c12b4Copy full SHA for 02c12b4
.circleci/config.yml
@@ -44,7 +44,13 @@ jobs:
44
- attach_workspace:
45
at: ~/emotion-ts-plugin
46
- run: echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" >> ~/.npmrc
47
- - run: npm publish
+ - run: |
48
+ if git log -1 --pretty=%B | grep -E "^v?\d+\.\d+\.\d+$";
49
+ then
50
+ npm publish
51
+ else
52
+ echo "Not a release, skipping publish"
53
+ fi
54
workflows:
55
version: 2
56
build_test_and_deploy:
@@ -58,6 +64,6 @@ workflows:
58
64
- test
59
65
filters:
60
66
tags:
61
- only: /^v?\d+\.\d+\.\d+$/
67
+ only: /.*/
62
68
branches:
63
- ignore: /.*/
69
+ only: master
0 commit comments