mirror of
https://github.com/json-c/json-c.git
synced 2026-11-09 15:30:14 +08:00
Add a shellcheck test, fix or ignore all warnings reported by shellcheck.
This commit is contained in:
1 parent
5a79fb68c2
commit
8f191846d5
21 files changed
+163
-94
No files matched your search
@@ -7,7 +7,8 @@ RUNDIR=$(dirname "$0")
|
||||
|
||||
NEXT_VER=$(get_next_relver)
|
||||
|
||||
MOST_RECENT=$(ls ${RUNDIR}/../issues_closed*md | sort -V | tail -1)
|
||||
# shellcheck disable=SC2012 # Using find is overkill
|
||||
MOST_RECENT=$(ls "${RUNDIR}"/../issues_closed*md | sort -V | tail -1)
|
||||
PREV=$(grep 'NOW=' "${MOST_RECENT}" | sed -e's/.*=//')
|
||||
NOW=$(date +%Y-%m-%d)
|
||||
set -x -v
|
||||
|
||||
Reference in new issue
Block a user