make-release: fix version handling / sed

This commit is contained in:
Thomas Gelf 2019-03-26 06:09:45 +01:00
parent e4cf4c5d87
commit 8335077fa2
1 changed files with 1 additions and 1 deletions

View File

@ -29,7 +29,7 @@ find vendor/ -type f -name "*.php" \
| 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
sed -i "s/^Version:.*/Version: v$VERSION/" module.info
git add module.info
git commit -m "Version v$VERSION"