We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1125004 commit 1bc5783Copy full SHA for 1bc5783
scripts/release.sh
@@ -12,8 +12,9 @@ if [ -z $VERSION ]; then
12
exit 1
13
fi
14
15
-echo "##> Removing stale build files"
16
-rm -rf ./build || exit 1
+echo "##> Removing stale build files and other untracked files"
+git clean -x -d -i
17
+test -z "$(git clean -x -d -n)" || exit 1
18
19
echo "##> Tagging the release as $VERSION"
20
git tag $VERSION
0 commit comments