#!/bin/sh

if ! git diff --diff-filter=d --cached --name-only | grep -q "setup-pipeline.sh"; then
    exit 0
fi

exec </dev/tty && python3 scripts/increment_version.py && git add VERSION setup-pipeline.sh
