Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mstachniuk/94d4972c193b0bb5c6500066f15171ae to your computer and use it in GitHub Desktop.
Save mstachniuk/94d4972c193b0bb5c6500066f15171ae to your computer and use it in GitHub Desktop.
object Travis Gradle Shipkit Git Bintray GitHub
Gradle->Shipkit: task gitCheckout
Shipkit->Git: Checkout specific branch
note right of Git: CI server automatically checkout revision to build \n (hash of the commit) instead of branch name \n and branch name is lost. \n Shipkit needs it for the next step. \n Execute e.g.: git checkout master
Git->Gradle:
Gradle->Shipkit: task gitUnshallow
Shipkit->Git: Get sufficient amount of commits
note right of Git: CI server performs the unshallow clone. \n We need a good number of commits to \n generate release notes for. \n Execute: git fetch --unshallow --tags
Git->Gradle:
Gradle->Shipkit: task setGitUserEmail
Shipkit->Git: Set locally Git user email
note right of Git: Execute: \n git config --local user.email <shipkit.org@gmail.com>
Git->Gradle:
Gradle->Shipkit: task setGitUserName
Shipkit->Git: Set locally Git user name
note right of Git: Execute: \n git config --local user.name shipkit-org
Git->Gradle:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment