From 5f7898e0885484c66c61f48472f47d0c2ad67910 Mon Sep 17 00:00:00 2001 From: Eric Lippmann Date: Tue, 26 Mar 2019 16:35:17 +0100 Subject: [PATCH] make-release: Fix xargs git add --- bin/make-release.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/make-release.sh b/bin/make-release.sh index 42badef..e6dc911 100755 --- a/bin/make-release.sh +++ b/bin/make-release.sh @@ -27,8 +27,8 @@ 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 + | xargs -L1 git add -f +find vendor/ -type f -name LICENSE | xargs -L1 git add -f sed -i "s/^Version:.*/Version: v$VERSION/" module.info git add module.info git commit -m "Version v$VERSION"