UNPKG

355 BPlain TextView Raw
1#!/usr/bin/env bash
2DIR=`dirname $0`
3BIN=$DIR/../node_modules/.bin
4
5if $DIR/konrad --run; then
6
7 if $DIR/konrad --test; then
8 $DIR/commit "$*"
9
10 set -e
11
12 VERSION=`$BIN/sds version`
13
14 echo 'npm publish' | $BIN/colorcat -swd
15 npm publish 2>&1 | $BIN/colorcat -sP $DIR/../cc/npm.noon
16 fi
17fi