mirror of
https://github.com/primer/css.git
synced 2024-11-24 05:06:04 +03:00
clean up release scripts; separte out changelog script
This commit is contained in:
parent
487d98beb1
commit
85a1ea5aa1
5
script/generate-changelog
Executable file
5
script/generate-changelog
Executable file
@ -0,0 +1,5 @@
|
||||
#!/bin/bash
|
||||
set -e
|
||||
|
||||
echo "📓 Generating CHANGELOG..."
|
||||
npx lerna-changelog
|
@ -1,15 +1,14 @@
|
||||
#!/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
|
||||
npx lerna exec $@ -- script/try-publish
|
||||
|
||||
# Build and publish storybook
|
||||
$(npm bin)/build-storybook -o build
|
||||
npx build-storybook -o build
|
||||
script/publish-storybook
|
||||
|
||||
echo "📓 Updated CHANGELOG..."
|
||||
|
||||
$(npm bin)/lerna-changelog
|
||||
script/generate-changelog
|
||||
|
@ -1,9 +1,7 @@
|
||||
#!/bin/bash
|
||||
set -e
|
||||
|
||||
echo "🐦 Publishing PR (canary) release..."
|
||||
npx lerna publish --npm-tag=pr --canary --exact $@
|
||||
|
||||
$(npm bin)/lerna publish --npm-tag=pr --canary --exact $@
|
||||
|
||||
echo "📓 Updated CHANGELOG..."
|
||||
|
||||
$(npm bin)/lerna-changelog
|
||||
script/generate-changelog
|
||||
|
Loading…
Reference in New Issue
Block a user