fix: php: packagist translator set version

Set version in `composer.json` to the package version,
composer is conservative and will fail if there the
package version is not set and any dependency version
conflicts are declared.
This commit is contained in:
Martin Toman 2022-09-17 15:36:03 -07:00
parent a9d1f074a2
commit f49af63180

View File

@ -52,6 +52,8 @@
git remote add origin $SOURCE_URL
git fetch --depth 1 origin $SOURCE_REV
git checkout FETCH_HEAD
mv composer.json composer.json.orig
jq ".version = \"$version\"" composer.json.orig > composer.json
popd
# generate arguments for package-lock translator