Fixed gitIsDirty task.
This commit is contained in:
parent
06fb8d5f9c
commit
22f936ed7a
1 changed files with 1 additions and 1 deletions
|
@ -107,7 +107,7 @@ tasks {
|
||||||
val gitIsDirty by creating(Exec::class) {
|
val gitIsDirty by creating(Exec::class) {
|
||||||
description = "Fails if git has uncommitted changes."
|
description = "Fails if git has uncommitted changes."
|
||||||
group = PublishingPlugin.PUBLISH_TASK_GROUP
|
group = PublishingPlugin.PUBLISH_TASK_GROUP
|
||||||
commandLine("git", "diff-index", "--quiet", "--HEAD", "--")
|
commandLine("git", "diff-index", "--quiet", "HEAD", "--")
|
||||||
}
|
}
|
||||||
|
|
||||||
val gitTag by creating(Exec::class) {
|
val gitTag by creating(Exec::class) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue