Skip to content

v1.4.1

Choose a tag to compare

@github-actions github-actions released this 11 Oct 12:03
· 20 commits to main since this release
1c53c99

Added

  • CI runs the test suite on every push and pull request to dev and main:
    on Linux, on macOS's own /bin/bash 3.2 (the oldest bash stanza supports),
    and through ShellCheck, which now reports no findings in the shipped
    scripts. tests/run.sh is the one entry point for CI and for local runs.
  • A test matrix holds every command with a JSON shape to its output contract
    under each verbosity, in text and --json mode, on success and on failure.

Changed

  • stanza init and stanza rules print a failure document on stdout under
    --json ("ok": false, with error and hint), as stanza release
    does, and their success documents carry "ok": true. They used to print
    nothing on stdout when they failed.
  • stanza release under --json prints its failure document for a usage
    error too (an unknown option, a missing bump type), with failed_step
    "preflight".
  • The "Use -h or --help" line after an unknown option goes to stderr, so it
    no longer lands ahead of the JSON document on stdout.