joyent-portal/bin/on-changes-publish-ui

9 lines
139 B
Plaintext
Raw Normal View History

2017-01-06 16:47:36 +02:00
#! /usr/bin/env bash
#
# Prelude
#
set -euo pipefail
[[ $(git diff --name-only) == *"ui/"* ]] && make -C ui publish | sed '/NPM_TOKEN/d'