mirror of
https://github.com/primer/css.git
synced 2024-11-24 05:06:04 +03:00
c34ce15f07
Previously, we were reporting pending publish status for whatever package.json versions were in git. This moves the `notify pending` calls right before the publish calls so that we can be sure we're always reporting the version that will be published if it succeeds.
11 lines
202 B
Bash
Executable File
11 lines
202 B
Bash
Executable File
#!/bin/bash
|
|
set -e
|
|
|
|
args=$@
|
|
npm_tag=pr
|
|
|
|
echo "🐦 Publishing PR release to dist-tag '$npm_tag'..."
|
|
script/notify pending
|
|
lerna publish --npm-tag=$npm_tag --canary --no-git $args
|
|
script/notify success
|