mirror of
https://github.com/ethauvin/kobalt.git
synced 2025-04-26 08:27:12 -07:00
Renamed auto paramter to enabled for autoGitTag directive.
This commit is contained in:
parent
4e432e2e77
commit
17bd4a0cec
2 changed files with 6 additions and 6 deletions
|
@ -47,7 +47,7 @@ class PublishPlugin @Inject constructor(val files: KFiles, val factory: PomGener
|
|||
private fun autoGitTag(project: Project, uploadResult: TaskResult, config: AutoGitTagConfig?) : TaskResult {
|
||||
if (config != null) {
|
||||
with(config) {
|
||||
return git.maybeTagRelease(project, uploadResult, auto, annotated, tag, message)
|
||||
return git.maybeTagRelease(project, uploadResult, enabled, annotated, tag, message)
|
||||
}
|
||||
} else {
|
||||
return TaskResult()
|
||||
|
@ -217,7 +217,7 @@ class PublishPlugin @Inject constructor(val files: KFiles, val factory: PomGener
|
|||
|
||||
data class AutoGitTagConfig(val project: Project) {
|
||||
@Directive
|
||||
var auto: Boolean = true
|
||||
var enabled: Boolean = true
|
||||
|
||||
@Directive
|
||||
var annotated: Boolean = false
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue