Nothing checks the scripts before a release: shell errors and regressions are only found on production servers.
Run shellcheck and the bats unit tests on every push and pull request, and the container integration tests nightly and on demand.