Revert "Testing with git index refresh included in gitIsDirty."
This reverts commit 13455e94f6
.
This commit is contained in:
parent
13455e94f6
commit
b709c9e5f7
1 changed files with 2 additions and 3 deletions
|
@ -114,9 +114,8 @@ tasks {
|
|||
val gitIsDirty by creating(Exec::class) {
|
||||
description = "Fails if git has uncommitted changes."
|
||||
group = "verification"
|
||||
//dependsOn(gitRefreshIndex)
|
||||
commandLine("git", "update-index", "--refresh").isIgnoreExitValue = true
|
||||
commandLine("git", "diff-index", "--quiet", "HEAD", "--").isIgnoreExitValue = false
|
||||
dependsOn(gitRefreshIndex)
|
||||
commandLine("git", "diff-index", "--quiet", "HEAD", "--")
|
||||
}
|
||||
|
||||
val gitTag by creating(Exec::class) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue