mirror of
https://github.com/nix-community/dream2nix.git
synced 2024-12-18 20:11:33 +03:00
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:
parent
a9d1f074a2
commit
f49af63180
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user