Skip to content

Commit c859681

Browse files
author
liuyi
committed
fix tools
1 parent ffc5704 commit c859681

File tree

2 files changed

+5
-12
lines changed

2 files changed

+5
-12
lines changed

.circleci/config.yml

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -44,13 +44,7 @@ jobs:
4444
- attach_workspace:
4545
at: ~/emotion-ts-plugin
4646
- run: echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" >> ~/.npmrc
47-
- run: |
48-
if git log -1 --pretty=%B | grep "^[0-9]\+\.[0-9]\+\.[0-9]\+$";
49-
then
50-
npm publish
51-
else
52-
echo "Not a release, skipping publish"
53-
fi
47+
- run: npm publish
5448
workflows:
5549
version: 2
5650
build_test_and_deploy:
@@ -64,6 +58,6 @@ workflows:
6458
- test
6559
filters:
6660
tags:
67-
only: /.*/
61+
only: /^v?\d+\.\d+\.\d+$/
6862
branches:
69-
only: master
63+
ignore: /.*/

package.json

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "emotion-ts-plugin",
3-
"version": "0.6.1",
3+
"version": "0.6.2",
44
"description": "TypeScript Emotion Plugin",
55
"main": "lib/index.js",
66
"types": "lib/index.d.ts",
@@ -86,8 +86,7 @@
8686
"lint-staged": {
8787
"*.ts": [
8888
"prettier --write",
89-
"tslint -c tslint.json --fix",
90-
"git add"
89+
"tslint -c tslint.json --fix"
9190
]
9291
},
9392
"husky": {

0 commit comments

Comments
 (0)