Skip to content

Commit

Permalink
Make git publish push wait on check
Browse files Browse the repository at this point in the history
  • Loading branch information
ajoberstar committed Apr 8, 2018
1 parent 7eb82f9 commit 237dc26
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -86,13 +86,14 @@ class DefaultsPlugin implements Plugin<Project> {
}
}

// push tags before tag is pushed
// publish docs before tag is pushed
rootProject.tasks.reckonTagPush.dependsOn 'gitPublishPush'

rootProject.allprojects { prj ->
prj.tasks.matching { it.name == 'check' }.all { task ->
// make sure tests pass before creating tag
// make sure tests pass before creating tag or pushing docs
rootProject.tasks.reckonTagCreate.dependsOn task
rootProject.tasks.gitPublishPush.dependsOn task
}
}
}
Expand Down

0 comments on commit 237dc26

Please sign in to comment.