Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Fixed
- Fix buildbot version in upgraded platforms ([#32](../../pull/32))

### Changed
- Optimize build cache for PR builds ([#36](../../pull/36))

## [2.4.1-1] - 2019-09-20
### Added
- Upgrade to buildbot 2.4.1 ([#29](../../pull/29))
Expand Down
9 changes: 8 additions & 1 deletion scripts/travis.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,14 @@
# When a tag is built (TRAVIS_TAG), the branch cannot be determined from
# TRAVIS_BRANCH. Assume that it is a release tag: If the version is 1.8.x, we're
# on the 1.8 maintenance branch. Otherwise, we're on master.
if [ -z "$TRAVIS_TAG" ]
#
# For PR builds (TRAVIS_PULL_REQUEST_BRANCH), use the branch from which the PR
# originated, not the target branch. This means that the same image is used for
# the Docker build cache as for the corresponding branch build.
if [ -n "$TRAVIS_PULL_REQUEST_BRANCH" ]
then
BRANCH="$TRAVIS_PULL_REQUEST_BRANCH"
elif [ -z "$TRAVIS_TAG" ]
then
BRANCH="$TRAVIS_BRANCH"
elif [[ "$TRAVIS_TAG" =~ ^v1\.8\. ]]
Expand Down