command-error 0.8.0

Detailed error messages and status checking for `std::process::Command`
Documentation
{
  writeShellApplication,
  cargo,
  cargo-release,
  gitAndTools,
}:
writeShellApplication {
  name = "make-release-commit";

  runtimeInputs = [
    cargo
    cargo-release
    gitAndTools.git
  ];

  text = ''
    if [[ -n "''${CI:-}" ]]; then
      git config --local user.email "github-actions[bot]@users.noreply.github.com"
      git config --local user.name "github-actions[bot]"
    fi

    cargo release --version

    cargo release \
      --execute \
      --no-confirm \
      --no-verify \
      "$@"
  '';
}