mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-11 08:33:53 +00:00
chore(ci, edge): only release with [release]
in commit body
This commit is contained in:
parent
ba50d3b392
commit
54186babe7
@ -116,9 +116,7 @@ jobs:
|
|||||||
name: release
|
name: release
|
||||||
command: |
|
command: |
|
||||||
GIT_COMMIT_MSG=`git --no-pager log --pretty=full -n1 $CIRCLE_SHA1`
|
GIT_COMMIT_MSG=`git --no-pager log --pretty=full -n1 $CIRCLE_SHA1`
|
||||||
if echo "$GIT_COMMIT_MSG" | grep -o "\[skip release\]"; then
|
if echo "$GIT_COMMIT_MSG" | grep -o "\[release\]"; then
|
||||||
echo "Release phase is skipped since [skip release] exists in commit message or body."
|
|
||||||
else
|
|
||||||
echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" >> ~/.npmrc
|
echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" >> ~/.npmrc
|
||||||
echo "//registry.yarnpkg.com/:_authToken=$NPM_TOKEN" >> ~/.npmrc
|
echo "//registry.yarnpkg.com/:_authToken=$NPM_TOKEN" >> ~/.npmrc
|
||||||
yarn lerna version --yes --no-git-tag-version --no-push
|
yarn lerna version --yes --no-git-tag-version --no-push
|
||||||
|
Loading…
Reference in New Issue
Block a user