mirror of
https://github.com/thegecko/web-bluetooth-dfu.git
synced 2025-12-09 10:28:13 +08:00
Publish @next
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user