mirror of
https://github.com/primer/css.git
synced 2025-01-08 15:33:53 +03:00
20 lines
493 B
Bash
Executable File
20 lines
493 B
Bash
Executable File
#!/bin/bash
|
|
set -e
|
|
echo "📦 Publishing latest release..."
|
|
|
|
$(dirname $0)/notify pending
|
|
|
|
# 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
|
|
$(npm bin)/gh-pages -d build -b gh-pages --silent -r https://${GITHUB_AUTH}@github.com/primer/storybook
|
|
|
|
echo "📓 Updated CHANGELOG..."
|
|
|
|
$(npm bin)/lerna-changelog
|
|
|
|
$(dirname $0)/notify success
|