1
1
mirror of https://github.com/primer/css.git synced 2024-11-24 05:06:04 +03:00
css/script/release-pr
Shawn Allen c34ce15f07 move commit status notifications closer to publish
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.
2017-07-25 11:35:52 -07:00

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