1
1
mirror of https://github.com/primer/css.git synced 2024-11-28 04:43:05 +03:00
css/script/release
2018-07-03 10:14:03 -07:00

16 lines
354 B
Bash
Executable File

#!/bin/bash
set -e
echo "📦 Publishing latest release..."
# note: try-publish should exit cleanly if it detects a duplicate
# published version
$(npm bin)/lerna exec -- $(pwd)/script/try-publish
# Build and publish storybook
$(npm bin)/build-storybook -o build
script/publish-storybook
echo "📓 Updated CHANGELOG..."
$(npm bin)/lerna-changelog