mirror of https://github.com/docker/docs.git
Merge pull request #16224 from jfrazelle/no-release-dirty
do not allow the release of a dirty binary
This commit is contained in:
commit
dc1cc46348
|
@ -63,6 +63,13 @@ fi
|
||||||
VERSION=$(< VERSION)
|
VERSION=$(< VERSION)
|
||||||
BUCKET=$AWS_S3_BUCKET
|
BUCKET=$AWS_S3_BUCKET
|
||||||
|
|
||||||
|
if command -v git &> /dev/null && git rev-parse &> /dev/null; then
|
||||||
|
if [ -n "$(git status --porcelain --untracked-files=no)" ]; then
|
||||||
|
echo "You cannot run the release script on a repo with uncommitted changes"
|
||||||
|
usage
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
# These are the 2 keys we've used to sign the deb's
|
# These are the 2 keys we've used to sign the deb's
|
||||||
# release (get.docker.com)
|
# release (get.docker.com)
|
||||||
# GPG_KEY="36A1D7869245C8950F966E92D8576A8BA88D21E9"
|
# GPG_KEY="36A1D7869245C8950F966E92D8576A8BA88D21E9"
|
||||||
|
|
Loading…
Reference in New Issue