Skip to content

v0.23.0

Choose a tag to compare

@github-actions github-actions released this 07 Jul 20:58
· 34 commits to main since this release
ef8c880

on_clean hooks, generalized .env detection and harmonized output.

Breaking

  • .env config moves from copy_files to [[env.file]] entries, with no automatic migration: run wtm init --only env or edit config.toml.

Added

  • [hooks] on_clean runs before clean/prune remove a worktree (e.g. docker compose down); a failure aborts unless continue_on_error.
  • wtm init --clean-command and --skip-clean configure on_clean non-interactively.
  • sudo rm -rf fallback: an interactive run offers it when git worktree remove hits root-owned files, never on a dangerous path.
  • .env detection recognises .env.dist, .env.sample and other templates, and flags .env.local as local.

Changed

  • The example strategy copies the detected template instead of hard-coding .env.example.
  • Output conventions are harmonized across commands; wtm sync shows a spinner while pushing.