mirror of https://github.com/docker/docker-py.git
Prevent untracked files in releases
Signed-off-by: Joffrey F <joffrey@docker.com>
This commit is contained in:
parent
11250042eb
commit
1bc5783a3d
|
|
@ -12,8 +12,9 @@ if [ -z $VERSION ]; then
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo "##> Removing stale build files"
|
echo "##> Removing stale build files and other untracked files"
|
||||||
rm -rf ./build || exit 1
|
git clean -x -d -i
|
||||||
|
test -z "$(git clean -x -d -n)" || exit 1
|
||||||
|
|
||||||
echo "##> Tagging the release as $VERSION"
|
echo "##> Tagging the release as $VERSION"
|
||||||
git tag $VERSION
|
git tag $VERSION
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue