trap icon indicating copy to clipboard operation
trap copied to clipboard

Trap can use native composer.json "version" property, to read current package version.

Open lotyp opened this issue 1 year ago • 1 comments

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.

Screenshot 2024-05-21 at 21 45 11

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.

lotyp avatar May 21 '24 18:05 lotyp

Looks like it works well right now with releases and phar. Can we close the issue?

roxblnfk avatar Jul 01 '24 07:07 roxblnfk