mirror of
https://github.com/thegecko/web-bluetooth-dfu.git
synced 2025-12-11 19:48:12 +08:00
Publish @next
This commit is contained in:
@@ -19,6 +19,9 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- attach_workspace:
|
- attach_workspace:
|
||||||
at: ../
|
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: 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.name thegecko
|
||||||
- run: git config --global user.email github@thegecko.org
|
- run: git config --global user.email github@thegecko.org
|
||||||
@@ -29,8 +32,6 @@ jobs:
|
|||||||
- run: git checkout stash -- .
|
- run: git checkout stash -- .
|
||||||
- run: git commit --allow-empty --message "Automatic Deployment [skip ci]"
|
- run: git commit --allow-empty --message "Automatic Deployment [skip ci]"
|
||||||
- run: git push
|
- run: git push
|
||||||
- run: 'echo "//registry.npmjs.org/:_authToken=${NPM_TOKEN}" > ~/.npmrc'
|
|
||||||
- run: npm publish || true
|
|
||||||
|
|
||||||
workflows:
|
workflows:
|
||||||
version: 2
|
version: 2
|
||||||
|
|||||||
Reference in New Issue
Block a user