mirror of
https://github.com/primer/css.git
synced 2024-12-20 20:51:38 +03:00
14 lines
251 B
Bash
Executable File
14 lines
251 B
Bash
Executable File
#!/bin/bash
|
|
set -e
|
|
|
|
if [[ "$@" = "--dry-run" ]]; then
|
|
publish_args="--skip-git --skip-npm"
|
|
else
|
|
publish_args=$@
|
|
fi
|
|
|
|
echo "📦 Publishing canary release..."
|
|
npx lerna publish --canary --exact --npm-tag=rc $publish_args
|
|
|
|
script/generate-changelog
|