Skip to content

Commit b0da20c

Browse files
committed
Publish master on npm as next
1 parent 87f20dc commit b0da20c

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

circle.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,13 @@ jobs:
1818

1919
deploy:
2020
docker:
21-
- image: circleci/node:6
21+
- image: circleci/node:8
2222
steps:
2323
- attach_workspace:
2424
at: ../
25+
- run: 'echo "//registry.npmjs.org/:_authToken=${NPM_TOKEN}" > ~/.npmrc'
26+
- run: npm --no-git-tag-version version prerelease --preid=next.$(echo $CIRCLE_SHA1 | cut -c -7)
27+
- run: npm publish --tag next
2528
- run: mkdir ~/.ssh/ && echo -e "Host github.com\n\tStrictHostKeyChecking no\n" > ~/.ssh/config
2629
- run: git config --global user.name thegecko
2730
- run: git config --global user.email [email protected]

0 commit comments

Comments
 (0)