1
1
mirror of https://github.com/primer/css.git synced 2024-11-28 22:01:43 +03:00
css/script/release-pr
2017-11-09 16:47:07 -08:00

16 lines
370 B
Bash
Executable File

#!/bin/bash
set -e
echo "🐦 Publishing PR (canary) release..."
# don't notify of a pending publish event because the version will differ from
# what lerna creates as a canary release
# $(dirname $0)/notify pending
$(npm bin)/lerna publish --npm-tag=pr --canary --exact $@
echo "📓 Updated CHANGELOG..."
$(npm bin)/lerna-changelog
$(dirname $0)/notify success