Skip to content

Commit 3e1cfa8

Browse files
committed
chore(ci): run publish for changes in master
1 parent 08dba21 commit 3e1cfa8

File tree

2 files changed

+14
-10
lines changed

2 files changed

+14
-10
lines changed

.circleci/config.yml

+11-6
Original file line numberDiff line numberDiff line change
@@ -101,11 +101,16 @@ jobs:
101101
<<: *defaults
102102
docker:
103103
- image: circleci/node:8
104+
environment:
105+
GIT_AUTHOR_NAME: Ionitron
106+
GIT_AUTHOR_EMAIL: [email protected]
107+
GIT_COMMITTER_NAME: Ionitron
108+
GIT_COMMITTER_EMAIL: [email protected]
104109
steps:
105110
- attach_workspace:
106111
at: /tmp/workspace
107112
- run: echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" >> ~/.npmrc
108-
- run: npm run publish:ci-4.x -- --yes
113+
- run: npm run publish:ci -- --yes
109114

110115
workflows:
111116
version: 2
@@ -114,8 +119,8 @@ workflows:
114119
- node-6
115120
- node-8
116121
- node-latest
117-
# - deploy:
118-
# requires: [node-6, node-8, node-latest]
119-
# filters:
120-
# branches:
121-
# only: master
122+
- deploy:
123+
requires: [node-6, node-8, node-latest]
124+
filters:
125+
branches:
126+
only: master

package.json

+3-4
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,9 @@
1212
"watch": "lerna run watch --parallel",
1313
"docs": "node packages/cli-scripts/bin/ionic-cli-scripts docs",
1414
"docs:watch": "chokidar 'packages/cli-scripts/dist/docs/**/*.js' -c 'npm run docs'",
15-
"publish:rc": "lerna publish --exact --npm-tag=rc",
16-
"publish:canary": "lerna publish --canary --exact --npm-tag=canary --skip-git",
17-
"publish:testing": "lerna publish --canary=testing --exact --npm-tag=testing --skip-git",
18-
"publish": "lerna publish --exact",
15+
"publish:canary": "lerna publish --independent --canary --exact --npm-tag=canary --skip-git",
16+
"publish:testing": "lerna publish --independent --canary=testing --exact --npm-tag=testing --skip-git",
17+
"publish:ci": "lerna publish --independent -m 'chore(release): publish [skip ci]' --exact --conventional-commits",
1918
"precommit": "npm run lint"
2019
},
2120
"devDependencies": {

0 commit comments

Comments
 (0)