1
1
mirror of https://github.com/primer/css.git synced 2024-11-30 01:04:04 +03:00
css/script/release
2017-11-09 16:47:07 -08:00

16 lines
322 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
echo "📓 Updated CHANGELOG..."
$(npm bin)/lerna-changelog
$(dirname $0)/notify success