mirror of
https://github.com/bblanchon/ArduinoJson.git
synced 2025-07-23 23:37:37 +02:00
Publish script: check that all changes are committed
This commit is contained in:
@ -4,6 +4,11 @@ set -eu
|
|||||||
|
|
||||||
cd "$(dirname "$0")/../.."
|
cd "$(dirname "$0")/../.."
|
||||||
|
|
||||||
|
if ! git diff --quiet --exit-code; then
|
||||||
|
echo "Repository contains uncommitted changes"
|
||||||
|
exit
|
||||||
|
fi
|
||||||
|
|
||||||
VERSION="$1"
|
VERSION="$1"
|
||||||
DATE=$(date +%F)
|
DATE=$(date +%F)
|
||||||
TAG="v$VERSION"
|
TAG="v$VERSION"
|
||||||
|
Reference in New Issue
Block a user