trap
trap copied to clipboard
Trap can use native composer.json "version" property, to read current package version.
Problem
Here is composer documentation.
https://getcomposer.org/doc/articles/troubleshooting.md#root-package-version-detection
Also, if not set, when working with project locally, you will see this kind of error.
Resolution
As we have release-please action, it will use composer.json by default, if it will find "version" property inside composer.json and this action will auto-bump version.
"version" should be added to composer.json.
Looks like it works well right now with releases and phar. Can we close the issue?