Skip to content

v0.2.0

Choose a tag to compare

@xipasduarte xipasduarte released this 11 Jan 22:59
· 7 commits to main since this release
b5a1622

This release aims to provide support for composer@^2.2 which introduced a new way to deal with binaries that changed how the commands such as cd "${0%[/\\]*}" resolved paths. For this it is considered a breaking change, hence the bump in version, but it should work with earlier composer versions.

Change highlights:

  • After a few corrections, as of composer@^2.2.2 there is now a new constant available to reach the bin/ directory (more in a4a51b9).
  • Don't break script when one of the paths can't be resolved.
  • Improve git path validation to include checking up to the hooks/ folder not just .git/.
  • Improve error messages.
  • Add .gitignore and composer.lock.