make-release: keep json files, otherwise...
...composer will not understand what's currently installed
This commit is contained in:
parent
a41978b574
commit
71d4bfe08e
|
@ -35,9 +35,10 @@ find vendor/ -type f -name "*.php" \
|
||||||
| grep -v '/test/' \
|
| grep -v '/test/' \
|
||||||
| xargs -L1 git add -f
|
| xargs -L1 git add -f
|
||||||
find vendor/ -type f -name LICENSE | 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
|
sed -i.bak "s/^Version:.*/Version: v$VERSION/" module.info && rm -f module.info.bak
|
||||||
git add module.info
|
git add module.info
|
||||||
git add composer.lock
|
git add composer.lock -f
|
||||||
git commit -m "Version v$VERSION"
|
git commit -m "Version v$VERSION"
|
||||||
|
|
||||||
rm -rf vendor
|
rm -rf vendor
|
||||||
|
|
Loading…
Reference in New Issue