diff options
author | Matt Strapp <matt@mattstrapp.net> | 2024-10-29 16:19:33 -0500 |
---|---|---|
committer | Matt Strapp <matt@mattstrapp.net> | 2024-10-29 16:19:33 -0500 |
commit | 048ddbf3af744fd2e0ddcbde7bc1574092600ca3 (patch) | |
tree | 0151e0b8314733190822fe630a845dcf2943dd1c | |
parent | Add verion bumping script (diff) | |
download | locusts-048ddbf3af744fd2e0ddcbde7bc1574092600ca3.tar locusts-048ddbf3af744fd2e0ddcbde7bc1574092600ca3.tar.gz locusts-048ddbf3af744fd2e0ddcbde7bc1574092600ca3.tar.bz2 locusts-048ddbf3af744fd2e0ddcbde7bc1574092600ca3.tar.lz locusts-048ddbf3af744fd2e0ddcbde7bc1574092600ca3.tar.xz locusts-048ddbf3af744fd2e0ddcbde7bc1574092600ca3.tar.zst locusts-048ddbf3af744fd2e0ddcbde7bc1574092600ca3.zip |
make shellcheck happy
Signed-off-by: Matt Strapp <matt@mattstrapp.net>
-rw-r--r-- | contrib/version-bump | 11 | ||||
-rw-r--r-- | docs/Rust.md | 1 |
2 files changed, 4 insertions, 8 deletions
diff --git a/contrib/version-bump b/contrib/version-bump index 925fa17..c3f12bb 100644 --- a/contrib/version-bump +++ b/contrib/version-bump @@ -7,13 +7,10 @@ fi OLD_TAG=$(jq -r '.version' package.json) -rg "$OLD_TAG" --files-with-matches --iglob \!\*lock\* --iglob \!go.mod --iglob \!deno.json --iglob \!package.json | xargs sed -i "s/$OLD_TAG/$GIT_TAG/g" +rg "$OLD_TAG" --files-with-matches --iglob \!\*lock\* --iglob \!go.mod --iglob \!deno.json --iglob \!package.json --iglob \!\*.md | xargs sed -i "s/$OLD_TAG/$GIT_TAG/g" -# fiddlge with autotools - -AUTOTOOLS_TAG=$(echo $GIT_TAG | sed 's/\./:/g') -OLD_TAG=$(echo $OLD_TAG | sed 's/\./:/g') - -echo $GIT_TAG +# fiddle with autotools +AUTOTOOLS_TAG=${GIT_TAG//\./:} +OLD_TAG=${OLD_TAG//\./:} sed -i "s/$GIT_TAG/$AUTOTOOLS_TAG/g" GNUmakefile.am
\ No newline at end of file diff --git a/docs/Rust.md b/docs/Rust.md index c5ccf50..0e599e4 100644 --- a/docs/Rust.md +++ b/docs/Rust.md @@ -4,7 +4,6 @@ [![Crates.io Version](https://img.shields.io/crates/v/locusts?logo=rust)](https://crates.io/crates/locusts) [![docs.rs](https://img.shields.io/docsrs/locusts?logo=docsdotrs)](https://docs.rs/locusts) - ## Description locusts is a library that provides a way to introduce locusts into your code. |