8000 Merge branch '3.4' into 4.3 · symfony/symfony@927ae8a · GitHub
[go: up one dir, main page]

Skip to content

Commit 927ae8a

Browse files
Merge branch '3.4' into 4.3
* 3.4: [CI] fix building local packages
2 parents 6b3bbe4 + 29cabf9 commit 927ae8a

File tree

3 files changed

+7
-1
lines changed

3 files changed

+7
-1
lines changed

.appveyor.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,9 @@ install:
4646
- php composer.phar self-update
4747
- copy /Y .github\composer-config.json %APPDATA%\Composer\config.json
4848
- php composer.phar global require --no-progress --no-scripts --no-plugins symfony/flex dev-master
49+
- git config --global user.email ""
50+
- git config --global user.name "Symfony"
51+
- php .github/build-packages.php "HEAD^" src\Symfony\Bridge\PhpUnit
4952
- php .github/build-packages.php "HEAD^" src\Symfony\Bridge\PhpUnit src\Symfony\Contracts
5053
- IF %APPVEYOR_REPO_BRANCH%==master (SET COMPOSER_ROOT_VERSION=dev-master) ELSE (SET COMPOSER_ROOT_VERSION=%APPVEYOR_REPO_BRANCH%.x-dev)
5154
- php composer.phar update --no-progress --no-suggest --ansi

.github/build-packages.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@
4747
if (isset($preferredInstall[$package->name]) && 'source' === $preferredInstall[$package->name]) {
4848
passthru("cd $dir && tar -cf package.tar --exclude='package.tar' *");
4949
} else {
50-
passthru("cd $dir && git init && git add . && git commit --author \"Symfony <>\" -m - && git archive -o package.tar HEAD && rm .git/ -Rf");
50+
passthru("cd $dir && git init && git add . && git commit -q -m - && git archive -o package.tar HEAD && rm .git/ -Rf");
5151
}
5252

5353
if (!isset($package->extra->{'branch-alias'}->{'dev-master'})) {

.travis.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -202,6 +202,9 @@ install:
202202
203203
- |
204204
# Create local composer packages for each patched components and reference them in composer.json files when cross-testing components
205+
git config --global user.email ""
206+
git config --global user.name "Symfony"
207+
205208
if [[ ! $deps ]]; then
206209
php .github/build-packages.php HEAD^ src/Symfony/Bridge/PhpUnit src/Symfony/Contracts
207210
else

0 commit comments

Comments
 (0)
0