scripts: require --tag for debug reload

This commit is contained in:
Lawrence Chen 2026-02-14 03:13:10 -08:00
parent 299a5eb3d8
commit 2bae2ca2f0
4 changed files with 22 additions and 15 deletions

View file

@ -1,5 +1,10 @@
#!/usr/bin/env bash
set -euo pipefail
./scripts/reload.sh
if [[ $# -eq 0 ]]; then
echo "error: reload2 requires a tag (example: ./scripts/reload2.sh --tag smoke)" >&2
exit 1
fi
./scripts/reload.sh "$@"
./scripts/reloadp.sh