Skip to content

Commit

Permalink
ci: fix shellcheck failure (#33)
Browse files Browse the repository at this point in the history
  • Loading branch information
Expotential108 committed Jun 2, 2021
1 parent 1fb36a3 commit 2d1e09f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions devtools/generate_changelog.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ fi
VERSION=$1
CMD='git-chglog'

if ! command -v git-chglog &>/dev/null; then
if command -v docker &>/dev/null; then
if ! command -v git-chglog >/dev/null 2>&1; then
if command -v docker >/dev/null 2>&1; then
CMD="docker run -v $(pwd):/workdir quay.io/git-chglog/git-chglog"
else
echo "git-chglog or docker required"
Expand Down

0 comments on commit 2d1e09f

Please sign in to comment.