Kaydet (Commit) 1bc5783a authored tarafından Joffrey F's avatar Joffrey F

Prevent untracked files in releases

Signed-off-by: 's avatarJoffrey F <joffrey@docker.com>
üst 11250042
......@@ -12,8 +12,9 @@ if [ -z $VERSION ]; then
exit 1
fi
echo "##> Removing stale build files"
rm -rf ./build || exit 1
echo "##> Removing stale build files and other untracked files"
git clean -x -d -i
test -z "$(git clean -x -d -n)" || exit 1
echo "##> Tagging the release as $VERSION"
git tag $VERSION
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment