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 ee34b7f commit 2cb2781Copy full SHA for 2cb2781
scripts/release.sh
@@ -13,7 +13,7 @@ if [ "$(git branch --show-current)" != "master" ]; then
13
fi
14
15
# check clean git repo
16
-if [ ! -z "${git show --short --ahead-behind}" ]; then
+if [ ! -z "$(git status --short --ahead-behind)" ]; then
17
git show
18
echo "need a clean repo"
19
exit 1
0 commit comments