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

make-release: Update module.info and support Macs
This commit is contained in:
Thomas Gelf 2019-03-26 20:31:28 +01:00 committed by GitHub
commit a5f1a453bc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 4 deletions

View File

@ -27,9 +27,9 @@ find vendor/ -type f -name "*.php" \
| grep -v '/example/' \
| grep -v '/tests/' \
| grep -v '/test/' \
| xargs git add -f
find vendor/ -type f -name LICENSE | xargs git add -f
sed -i "s/^Version:.*/Version: v$VERSION/" module.info
| xargs -L1 git add -f
find vendor/ -type f -name LICENSE | 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 commit -m "Version v$VERSION"

View File

@ -1,5 +1,5 @@
Name: IPL Bundle
Version: master
Version: dev-master
Description: The Icinga PHP library
This repository ships libraries useful for Icinga Web 2 modules. Please download
the latest release and install it like any other module.