Skip to content

Commit

Permalink
Fixed GitHub releases.
Browse files Browse the repository at this point in the history
  • Loading branch information
apognu committed Oct 30, 2019
1 parent a4fd317 commit 07d00ee
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 3 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,9 @@ cache:
script:
- "./gradlew app:assembleDebug"

before_deploy:
- RELEASE_MESSAGE="$(git tag -ln --format '%(subject)' $TRAVIS_TAG)"

deploy:
provider: releases
name: $TRAVIS_TAG
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,6 @@ class HttpUpstream<D : Any, R : FunkwhaleResponse<D>>(val behavior: Behavior, pr
}
},
{ error ->
log(error.toString())

when (error.exception) {
is RefreshError -> EventBus.send(Event.LogOut)
else -> channel.offer(Repository.Response(Repository.Origin.Network, listOf(), false))
Expand Down

0 comments on commit 07d00ee

Please sign in to comment.