From 784f8230b078f795071bcf7ceede79c5ce887fe3 Mon Sep 17 00:00:00 2001 From: Rob Moran Date: Mon, 3 Jun 2019 17:32:51 +0200 Subject: [PATCH] Publish @next --- circle.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/circle.yml b/circle.yml index 33207c7..29915cd 100644 --- a/circle.yml +++ b/circle.yml @@ -19,6 +19,9 @@ jobs: steps: - attach_workspace: at: ../ + - run: 'echo "//registry.npmjs.org/:_authToken=${NPM_TOKEN}" > ~/.npmrc' + - run: npm --no-git-tag-version version prerelease --preid=next.$(echo $CIRCLE_SHA1 | cut -c -7) + - run: npm publish --tag next - run: mkdir ~/.ssh/ && echo -e "Host github.com\n\tStrictHostKeyChecking no\n" > ~/.ssh/config - run: git config --global user.name thegecko - run: git config --global user.email github@thegecko.org @@ -29,8 +32,6 @@ jobs: - run: git checkout stash -- . - run: git commit --allow-empty --message "Automatic Deployment [skip ci]" - run: git push - - run: 'echo "//registry.npmjs.org/:_authToken=${NPM_TOKEN}" > ~/.npmrc' - - run: npm publish || true workflows: version: 2