Skip to content

Commit

Permalink
[ci] fix shellcheck warning (#946)
Browse files Browse the repository at this point in the history
  • Loading branch information
wkozyra95 authored Feb 3, 2025
1 parent 3bc9fb7 commit f5e13dd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,12 @@ if [[ -z "$COMMIT_HASH" ]]; then
exit 1
fi

if ! docker buildx imagetools 2>&1 >/dev/null; then
if ! docker buildx imagetools >/dev/null 2>&1; then
echo "Command \"docker buildx imagetools\" failed. Make sure buildx is enabled/installed on your platform."
exit 1
fi

if ! gh auth status 2>&1 >/dev/null; then
if ! gh auth status >/dev/null 2>&1; then
echo "Command \"gh auth status\" failed. Make sure to login authenticate gh CLI."
exit 1
fi
Expand Down

0 comments on commit f5e13dd

Please sign in to comment.