When downloading the datadog-setup.php file from the release it works fine https://github.com/DataDog/dd-trace-php/releases/tag/1.1.0. But when using a dependency tool like composer the script doesn't work since it try to work with url like
Since the version number is present (in VERSION file or similar) or can even be found with the composer.lock (With \Composer\InstalledVersion for instance), it would be great to auto-fill the @release_version@ placeholder.
Bug report
When downloading the
datadog-setup.php
file from the release it works fine https://github.com/DataDog/dd-trace-php/releases/tag/1.1.0. But when using a dependency tool like composer the script doesn't work since it try to work with url likeI assume it's because of the PR https://github.com/DataDog/dd-trace-php/pull/1463 (cc @labbati @morrisonlevi)
Since the version number is present (in VERSION file or similar) or can even be found with the composer.lock (With \Composer\InstalledVersion for instance), it would be great to auto-fill the
@release_version@
placeholder.This way
would work without anything else.
PHP version
8.3.7
Tracer or profiler version
1.1.0
Installed extensions
Irrelevant
Output of
phpinfo()
Irrelevant
Upgrading from
No response