Fixed GitHub releases.

This commit is contained in:
Antoine POPINEAU 2019-10-30 15:09:15 +01:00
parent a4fd317e5c
commit 07d00ee69c
No known key found for this signature in database
GPG Key ID: A78AC64694F84063
2 changed files with 3 additions and 2 deletions

View File

@ -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

View File

@ -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))