2017-07-14 02:11:38 +03:00
|
|
|
#!/bin/bash
|
|
|
|
set -e
|
2017-07-21 00:12:57 +03:00
|
|
|
echo "📦 Publishing latest release..."
|
2017-07-27 23:26:21 +03:00
|
|
|
|
2017-07-25 23:04:16 +03:00
|
|
|
# note: try-publish should exit cleanly if it detects a duplicate
|
|
|
|
# published version
|
2017-07-27 23:26:21 +03:00
|
|
|
$(npm bin)/lerna exec -- $(pwd)/script/try-publish
|
|
|
|
|
2018-06-28 20:47:30 +03:00
|
|
|
# Build and publish storybook
|
|
|
|
$(npm bin)/build-storybook -o build
|
2018-07-03 20:14:03 +03:00
|
|
|
script/publish-storybook
|
2018-06-28 20:47:30 +03:00
|
|
|
|
2017-11-10 03:47:07 +03:00
|
|
|
echo "📓 Updated CHANGELOG..."
|
|
|
|
|
2017-11-10 03:46:12 +03:00
|
|
|
$(npm bin)/lerna-changelog
|