From 92f1fa39d6faca3f4a4521bf26ff3e934d181f64 Mon Sep 17 00:00:00 2001 From: Eric Lippmann Date: Mon, 26 Jul 2021 13:05:13 +0200 Subject: [PATCH] Fix fatal: pathspec 'vendor' did not match any files With the --ignore-unmatch, the make-release script no longer complains that the path specification does not match any file the first time it is called. --- bin/make-release.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/make-release.sh b/bin/make-release.sh index 2bc67bd..add1199 100755 --- a/bin/make-release.sh +++ b/bin/make-release.sh @@ -30,7 +30,7 @@ else BRANCH=$(git rev-parse --abbrev-ref HEAD) fi -git rm -rf vendor +git rm -rf --ignore-unmatch vendor rm -rf vendor rm -f composer.lock composer install --no-scripts || fail "composer install failed"