From 510760d81b5d6ce79f27ade56baa4e6c0ef4f099 Mon Sep 17 00:00:00 2001 From: Trent Nelson Date: Mon, 15 Mar 2021 13:06:04 -0600 Subject: [PATCH] Ignore `not_paths` for `*.md` files when bumping version --- scripts/increment-cargo-version.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/increment-cargo-version.sh b/scripts/increment-cargo-version.sh index a83d27e2b2..c48cb39bf4 100755 --- a/scripts/increment-cargo-version.sh +++ b/scripts/increment-cargo-version.sh @@ -32,8 +32,8 @@ done # shellcheck disable=2207,SC2068 # Don't want a positional arg if `not-paths` is empty Cargo_tomls=($(find . -mindepth 2 -name Cargo.toml ${not_paths[@]})) -# shellcheck disable=2207 -markdownFiles=($(find . -name "*.md")) +# shellcheck disable=2207,SC2068 # Don't want a positional arg if `not-paths` is empty +markdownFiles=($(find . -name "*.md" ${not_paths[@]})) # Collect the name of all the internal crates crates=()