From 7da987c98728aba1ecb3675c74d2dbba92462f1a Mon Sep 17 00:00:00 2001 From: Andy Heathershaw Date: Thu, 27 Oct 2016 12:50:46 +0100 Subject: [PATCH] Force include of the vendor files into the temporary git stash before archiving --- resources/build/build.php | 1 + 1 file changed, 1 insertion(+) diff --git a/resources/build/build.php b/resources/build/build.php index ab608e1..7738981 100644 --- a/resources/build/build.php +++ b/resources/build/build.php @@ -78,6 +78,7 @@ $sgCommand = sprintf( system($sgCommand); echo 'Creating the release archive...' . PHP_EOL . PHP_EOL; +system('git add --force vendor/'); system('git stash'); system(sprintf('git archive --format zip --output %1$s/blue-twilight_%2$s.zip --prefix=blue-twilight_%2$s/ "stash@{0}"', $argv[2], $argv[1])); system('git stash pop');