Fixed GitHub releases.
This commit is contained in:
parent
a4fd317e5c
commit
07d00ee69c
|
@ -21,6 +21,9 @@ cache:
|
||||||
script:
|
script:
|
||||||
- "./gradlew app:assembleDebug"
|
- "./gradlew app:assembleDebug"
|
||||||
|
|
||||||
|
before_deploy:
|
||||||
|
- RELEASE_MESSAGE="$(git tag -ln --format '%(subject)' $TRAVIS_TAG)"
|
||||||
|
|
||||||
deploy:
|
deploy:
|
||||||
provider: releases
|
provider: releases
|
||||||
name: $TRAVIS_TAG
|
name: $TRAVIS_TAG
|
||||||
|
|
|
@ -60,8 +60,6 @@ class HttpUpstream<D : Any, R : FunkwhaleResponse<D>>(val behavior: Behavior, pr
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{ error ->
|
{ error ->
|
||||||
log(error.toString())
|
|
||||||
|
|
||||||
when (error.exception) {
|
when (error.exception) {
|
||||||
is RefreshError -> EventBus.send(Event.LogOut)
|
is RefreshError -> EventBus.send(Event.LogOut)
|
||||||
else -> channel.offer(Repository.Response(Repository.Origin.Network, listOf(), false))
|
else -> channel.offer(Repository.Response(Repository.Origin.Network, listOf(), false))
|
||||||
|
|
Loading…
Reference in New Issue