Skip to content

Commit

Permalink
Fixed messed up release script.
Browse files Browse the repository at this point in the history
  • Loading branch information
orium committed Mar 15, 2023
1 parent 5a89063 commit cd3e04e
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions tools/release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,10 @@ if [ $(git symbolic-ref --short HEAD) != $MAIN_BRANCH ]; then
exit 1
fi

# if [ $(git status --porcelain --untracked-files=no | wc -l) -ne 0 ]; then
# echo "Working directory is not clean." >&2
# exit 1
#fi
if [ $(git status --porcelain --untracked-files=no | wc -l) -ne 0 ]; then
echo "Working directory is not clean." >&2
exit 1
fi

echo 'Checking if local branch is up to date...'

Expand Down Expand Up @@ -73,10 +73,10 @@ fi

echo -n "Running tests... "

#if ! ./tools/check.sh 2>/dev/null > /dev/null; then
# echo "It failed :(" >&2
# exit 0
#fi
if ! ./tools/check.sh 2>/dev/null > /dev/null; then
echo "It failed :(" >&2
exit 0
fi

echo "done."

Expand Down

0 comments on commit cd3e04e

Please sign in to comment.