1
1
mirror of https://github.com/primer/css.git synced 2024-12-29 00:58:31 +03:00

try setting TRAVIS_COMMIT inline

This commit is contained in:
Shawn Allen 2017-07-13 14:55:50 -07:00
parent a22c2e5b73
commit 548772d6d5

View File

@ -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..."