Force include of the vendor files into the temporary git stash before archiving

This commit is contained in:
Andy Heathershaw 2016-10-27 12:50:46 +01:00
parent 17b3ad9ddd
commit 7da987c987

View File

@ -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');