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:54:07 +02:00
parent a41978b574
commit 71d4bfe08e
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