forked from bblanchon/ArduinoJson
Publish script: check that all changes are committed
This commit is contained in:
@ -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"
|
||||
|
Reference in New Issue
Block a user