joyent-portal/bin/on-changes-publish-ui
2017-01-06 14:47:36 +00:00

9 lines
139 B
Bash
Executable File

#! /usr/bin/env bash
#
# Prelude
#
set -euo pipefail
[[ $(git diff --name-only) == *"ui/"* ]] && make -C ui publish | sed '/NPM_TOKEN/d'