Skip to content
This repository has been archived by the owner on Jul 26, 2018. It is now read-only.

Commit

Permalink
Reenable master -> edge snap release
Browse files Browse the repository at this point in the history
  • Loading branch information
didrocks committed Apr 20, 2018
1 parent bdd1689 commit c39b212
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build/prepare-build-snap
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ cmd="sed -i s/xenial/bionic/g /etc/apt/sources.list && apt update -qq && cd $(pw
REPO="${TRAVIS_REPO_SLUG%%/*}"
SOURCE_REPO="${TRAVIS_PULL_REQUEST_SLUG%%/*}"
channel=""
if [ "$REPO" == "ubuntu" ] && [ "$SOURCE_REPO" == "ubuntu" ] ; then
if [ "$REPO" == "ubuntu" ] && ([ "$TRAVIS_PULL_REQUEST" == "false" ] || [ "$SOURCE_REPO" == "ubuntu" ]) ; then
# if it's a PR event from
if [ "$TRAVIS_PULL_REQUEST" != "false" ]; then
channel="edge/${TRAVIS_REPO_SLUG#*/}-pr$TRAVIS_PULL_REQUEST"
Expand Down

0 comments on commit c39b212

Please sign in to comment.