Every WordPress release means editing the same header in every plugin readme, and doing it by hand is how one of them ends up claiming compatibility with a version from two years ago.
#!/usr/bin/env bash
set -euo pipefail
version="${1:?usage: bump-tested 5.3}"
for readme in plugins/*/readme.txt; do
sed -i -E "s/^(Tested up to: ).*/1${version}/" "$readme"
done
grep -H 'Tested up to' plugins/*/readme.txt
The trailing grep is what makes it trustworthy: a sed that matched nothing exits zero, so without reading the result the script can report success and change nothing. The :? parameter expansion turns a missing argument into a clear error rather than replacing every version with an empty string. Ten lines, and it removes a recurring task that nobody enjoys and everybody occasionally gets wrong.