diff --git a/publish.sh b/publish.sh index c16ebf0..0c016b5 100755 --- a/publish.sh +++ b/publish.sh @@ -20,7 +20,7 @@ if ! git -C "$LOCAL_DIR" remote get-url "$REMOTE" &>/dev/null; then echo " git remote add ${REMOTE} https://github.com/brutsalvadi/bincio-activity.git" exit 1 fi -if [[ -n "$(git -C "$LOCAL_DIR" status --porcelain)" ]]; then +if [[ -n "$(git -C "$LOCAL_DIR" status --porcelain --untracked-files=no)" ]]; then echo "ERROR: uncommitted changes. Commit or stash first." exit 1 fi