Publish script: check that all changes are committed

This commit is contained in:
Benoit Blanchon
2022-01-08 16:21:09 +01:00
parent 4977de38fc
commit 37f1c87338

View File

@ -4,6 +4,11 @@ set -eu
cd "$(dirname "$0")/../.."
if ! git diff --quiet --exit-code; then
echo "Repository contains uncommitted changes"
exit
fi
VERSION="$1"
DATE=$(date +%F)
TAG="v$VERSION"