#!/bin/bash

tsc

if [ -z "$1" ]; then
    msg="Updates"
else
    msg="$1"
fi

git add .
git commit -m "$msg"
git push
npm publish