#!/bin/bash test -z "$(git status -s)" || { echo 'commit your changes first'; exit; } git push origin master echo rsync -av --delete .git/ git echo npm publish