Merge pull request #2 from Icinga/feature/auto-release-version

make-release: Update module.info and support Macs
This commit is contained in:
Thomas Gelf 2019-03-25 12:59:55 +01:00 committed by GitHub
commit 92955dd02b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 3 deletions

View File

@ -27,8 +27,10 @@ find vendor/ -type f -name "*.php" \
| grep -v '/example/' \ | grep -v '/example/' \
| grep -v '/tests/' \ | grep -v '/tests/' \
| grep -v '/test/' \ | grep -v '/test/' \
| xargs -l git add -f | xargs git add -f
find vendor/ -type f -name LICENSE | xargs -l git add -f find vendor/ -type f -name LICENSE | xargs git add -f
sed -i '' "s/^Version:.*/Version: v$VERSION/" module.info
git add module.info
git commit -m "Version v$VERSION" git commit -m "Version v$VERSION"
rm -f composer.lock rm -f composer.lock

View File

@ -1,5 +1,5 @@
Name: React Bundle Name: React Bundle
Version: master Version: dev-master
Description: ReactPHP-based 3rd party libraries Description: ReactPHP-based 3rd party libraries
This repository is an attempt to ship 3rd party libraries that might be useful This repository is an attempt to ship 3rd party libraries that might be useful
for asynchronous PHP-based Icinga Web 2 modules. Please download the latest for asynchronous PHP-based Icinga Web 2 modules. Please download the latest