fix circleci merged builds (#3858)

* fix

* changelog
This commit is contained in:
Amber Brown 2018-09-14 00:44:31 +10:00 committed by GitHub
parent bfa0b759e0
commit 3126b88d35
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 0 deletions

View File

@ -19,6 +19,10 @@ GITBASE=`curl -q https://api.github.com/repos/matrix-org/synapse/pulls/${CIRCLE_
# Show what we are before # Show what we are before
git show -s git show -s
# Set up username so it can do a merge
git config --global user.email bot@matrix.org
git config --global user.name "A robot"
# Fetch and merge. If it doesn't work, it will raise due to set -e. # Fetch and merge. If it doesn't work, it will raise due to set -e.
git fetch -u origin $GITBASE git fetch -u origin $GITBASE
git merge --no-edit origin/$GITBASE git merge --no-edit origin/$GITBASE

1
changelog.d/3858.misc Normal file
View File

@ -0,0 +1 @@
Fix running merged builds on CircleCI