Skip to content

teamwright 0.8.5

Choose a tag to compare

@smykov smykov released this 24 Oct 21:18
· 17 commits to main since this release

Fixed

  • pre-push refused every push on bash 3.2 (the macOS default). With no remote-tracking branches yet — a first push, or a new remote — the hook expanded an empty array under set -u, which bash before 4.4 treats as an unbound variable: delivered[@]: unbound variable, and the push was refused. The empty case now expands to nothing, as elsewhere in the hooks. The bash 3.2 CI job, which runs the existing pre-push tests in a bash:3.2 container, was failing on this.
  • The demo died on macOS (from→: unbound variable): bash 3.2 takes the bytes of a non-ASCII character after $name as part of the name. examples/demo.sh writes ${from}→${to}, and make lint now fails on $name before a non-ASCII character in any shell file (scripts/check-sh-names.py) — Linux CI could not see it otherwise.
  • Tests: ls | grep counts replaced with find (shellcheck SC2010); test-tw-ci-changes.sh imports importlib.machinery explicitly, which newer Python no longer pulls in through importlib.util.

Full changelog: CHANGELOG.md