Skip to content
Permalink
Browse files

Merge pull request #1025 from eolivelli/fix/local-build

  • Loading branch information
thekingn0thing committed Dec 27, 2019
2 parents be2370c + 7af5b37 commit 38e5dc64e76db14cf2c11728e24d851b441de150
Showing with 3 additions and 3 deletions.
  1. +3 −3 gradle/shipkit.gradle
@@ -11,8 +11,8 @@ shipkit {

// fix for Intellj Idea, because IDE does not read env properties from ${user.home}/.profile file on MacOS

gitHub.writeAuthUser = System.getenv("GH_USER")
gitHub.writeAuthToken = System.getenv("GH_WRITE_TOKEN")
gitHub.writeAuthUser = System.getenv("GH_USER") != null ? System.getenv("GH_USER") : "GH_USER-not-set-dev-mode";
gitHub.writeAuthToken = System.getenv("GH_WRITE_TOKEN") != null ? System.getenv("GH_WRITE_TOKEN"): "GH_WRITE_TOKEN-not-set-dev-mode";

def buildNo = System.getenv("TRAVIS_BUILD_NUMBER")
git.commitMessagePostfix = buildNo? "by CI build $buildNo\n\n[ci skip]" : "by local build\n\n[ci skip]"
@@ -106,4 +106,4 @@ static boolean shouldReleaseToCentral(project) {
project.logger.info(message)

return centralRelease
}
}

0 comments on commit 38e5dc6

Please sign in to comment.
You can’t perform that action at this time.