You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
shellcheck -o all gpgit.sh
In gpgit.sh line 234:
done < <(git show "${commit}:${changelog}")
^-- SC2312 (info): Consider invoking this command separately to avoid masking its return value (or use '|| true' to ignore).
In gpgit.sh line 411:
check_dependency git sed grep awk md5sum shasum date || die "Please check your \$PATH variable or install the missing dependency."
^--------------^ SC2310 (info): This function is invoked in an || condition so set -e will be disabled. Invoke separately if failures should cause the script to exit.
In gpgit.sh line 412:
if [[ "$(git rev-parse --is-inside-work-tree 2>/dev/null)" != "true" ]]; then
^-- SC2312 (info): Consider invoking this command separately to avoid masking its return value (or use '|| true' to ignore).
In gpgit.sh line 413:
die "Not a Git repository: $(pwd)"
^-^ SC2312 (info): Consider invoking this command separately to avoid masking its return value (or use '|| true' to ignore).
In gpgit.sh line 417:
cd "$(git rev-parse --show-toplevel)"
^---------------------------^ SC2312 (info): Consider invoking this command separately to avoid masking its return value (or use '|| true' to ignore).
In gpgit.sh line 425:
readarray -t ALL_REMOTES <<< "$(git remote)"
^--------^ SC2312 (info): Consider invoking this command separately to avoid masking its return value (or use '|| true' to ignore).
In gpgit.sh line 477:
check_dependency "${GPG_BIN}" "${COMPRESSION[@]}" \
^--------------^ SC2310 (info): This function is invoked in an || condition so set -e will be disabled. Invoke separately if failures should cause the script to exit.
In gpgit.sh line 511:
if ! KEEPACHANGELOG="$(parse_keepachangelog "${CHANGELOG_FILE}" "${TAG}" "${COMMIT}")"; then
^------------------^ SC2310 (info): This function is invoked in a ! condition so set -e will be disabled. Invoke separately if failures should cause the script to exit.
^------------------^ SC2310 (info): This function is invoked in an 'if' condition so set -e will be disabled. Invoke separately if failures should cause the script to exit.
^------------------^ SC2311 (info): Bash implicitly disabled set -e for this function invocation because it's inside a command substitution. Add set -e; before it or enable inherit_errexit.
In gpgit.sh line 524:
&& check_dependency jq file curl; then
^--------------^ SC2310 (info): This function is invoked in an 'if' condition so set -e will be disabled. Invoke separately if failures should cause the script to exit.
In gpgit.sh line 539:
check_dependency jq file curl \
^--------------^ SC2310 (info): This function is invoked in an || condition so set -e will be disabled. Invoke separately if failures should cause the script to exit.
In gpgit.sh line 574:
if [[ -n "$(${GPG_BIN} --list-secret-keys)" ]]; then
^---------------------------^ SC2312 (info): Consider invoking this command separately to avoid masking its return value (or use '|| true' to ignore).
In gpgit.sh line 610:
die "GPG key expired on $(date -d "@${GPG_EXPIRE_DATE}" +%F)"
^-- SC2312 (info): Consider invoking this command separately to avoid masking its return value (or use '|| true' to ignore).
In gpgit.sh line 612:
warning "GPG key will expire in less than 3 month: $(date -d "@${GPG_EXPIRE_DATE}" +%F)"
^-- SC2312 (info): Consider invoking this command separately to avoid masking its return value (or use '|| true' to ignore).
In gpgit.sh line 710:
if [[ -z "$(git tag -l "${TAG}")" ]] ; then
^-----------------^ SC2312 (info): Consider invoking this command separately to avoid masking its return value (or use '|| true' to ignore).
For more information:
https://www.shellcheck.net/wiki/SC2310 -- This function is invoked in a ! c...
https://www.shellcheck.net/wiki/SC2311 -- Bash implicitly disabled set -e f...
https://www.shellcheck.net/wiki/SC2312 -- Consider invoking this command se...
The text was updated successfully, but these errors were encountered:
... and thus building the Arch package breaks:
The text was updated successfully, but these errors were encountered: