make-release: fix version handling / sed
This commit is contained in:
parent
e4cf4c5d87
commit
8335077fa2
|
@ -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"
|
||||
|
||||
|
|
Loading…
Reference in New Issue