make-release: keep json files, otherwise...

...composer will not understand what's currently installed
This commit is contained in:
Thomas Gelf 2019-05-16 17:56:04 +02:00
parent 2b2ad9ef9e
commit a160c02104
1 changed files with 2 additions and 1 deletions

View File

@ -35,9 +35,10 @@ find vendor/ -type f -name "*.php" \
| grep -v '/test/' \
| xargs -L1 git add -f
find vendor/ -type f -name LICENSE | xargs -L1 git add -f
find vendor/ -type f -name '*.json' | xargs -L1 git add -f
sed -i.bak "s/^Version:.*/Version: v$VERSION/" module.info && rm -f module.info.bak
git add module.info
git add composer.lock
git add composer.lock -f
git commit -m "Version v$VERSION"
rm -rf vendor