1
1
mirror of https://github.com/primer/css.git synced 2024-09-21 05:39:15 +03:00

send PR commit status w/canary version

This commit is contained in:
Shawn Allen 2017-07-13 13:36:17 -07:00
parent 780dd32e7f
commit 5c2fb08472

View File

@ -9,6 +9,9 @@ args=${@:1}
if [[ $TRAVIS_EVENT_TYPE = pull_request ]]; then
echo "🐦 Publishing canary version..."
npm run release-canary -- ${args}
version=`jq -r .version module/primer-css/package.json`
echo "📡 Transmitting release success for primer-css@${version} ..."
commit-status success npm/publish/pr "${version}"
# merges to dev build a release candidate
elif [[ $TRAVIS_BRANCH = dev ]]; then
echo "👌 Publishing release candidate..."