mirror of
https://github.com/nuxt/nuxt.git
synced 2025-01-30 23:32:38 +00:00
fix(ci): use full message for COMMIT_MSG
[release]
This commit is contained in:
parent
ee0096bf59
commit
cc358b54c4
@ -23,7 +23,7 @@ release: &release
|
||||
name: release
|
||||
command: |
|
||||
if [ -z "$COMMIT_MSG" ]; then
|
||||
COMMIT_MSG=$(git log --format=oneline -n 1 $CIRCLE_SHA1)
|
||||
COMMIT_MSG=$(git --no-pager log --pretty=full -n1 $CIRCLE_SHA1)
|
||||
fi
|
||||
if echo "$COMMIT_MSG" | grep -o "\[release\]"; then
|
||||
echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" >> ~/.npmrc
|
||||
|
Loading…
Reference in New Issue
Block a user