mirror of
https://github.com/primer/css.git
synced 2024-12-29 09:06:07 +03:00
try setting TRAVIS_COMMIT inline
This commit is contained in:
parent
a22c2e5b73
commit
548772d6d5
@ -11,7 +11,8 @@ if [[ $TRAVIS_EVENT_TYPE = pull_request ]]; then
|
||||
npm run release-canary -- ${args}
|
||||
version=`jq -r .version modules/primer-css/package.json`
|
||||
echo "📡 Transmitting release success for primer-css@${version} ..."
|
||||
commit-status success npm/publish/pr "${version}"
|
||||
TRAVIS_COMMIT=$TRAVIS_PULL_REQUEST_SHA \
|
||||
commit-status success npm/publish/pr "${version}"
|
||||
# merges to dev build a release candidate
|
||||
elif [[ $TRAVIS_BRANCH = dev ]]; then
|
||||
echo "👌 Publishing release candidate..."
|
||||
|
Loading…
Reference in New Issue
Block a user