Skip to content

Commit

Permalink
fix NPE on GA build
Browse files Browse the repository at this point in the history
  • Loading branch information
amircodota committed Sep 30, 2020
1 parent b9204eb commit a158378
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,9 @@ def publishChannel = channelName == "production" ? PRODUCTION_CHANNEL : channelN
def hubToken = project.hasProperty('hubToken') ? hubToken : (System.getenv('HUB_TOKEN'))

publishPlugin {
channels publishChannel
if (publishChannel != PRODUCTION_CHANNEL) {
channels publishChannel
}
token hubToken
}

Expand Down

0 comments on commit a158378

Please sign in to comment.