Skip to content

Commit d5dfa3e

Browse files
committed
Update ziti-cli to version 1.6.9
1 parent bc3f20e commit d5dfa3e

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

ziti/build.gradle.kts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -157,13 +157,19 @@ val quickstartHome = layout.buildDirectory.dir("quickstart").get()
157157
tasks.register<Exec>("zitiCheckout") {
158158
group = LifecycleBasePlugin.BUILD_GROUP
159159
description = "checkout ziti cli source"
160+
161+
if (srcDir.asFile.exists()) {
162+
srcDir.asFile.deleteRecursively()
163+
}
164+
160165
commandLine("env", "git", "clone",
161166
"--depth", "1", "--branch", "v${zitiVersion}",
162167
"https://github.com/openziti/ziti", "${srcDir.asFile.absolutePath}"
163168
)
164169
}
165170

166171
tasks.register<Exec>("buildZiti") {
172+
dependsOn("zitiCheckout")
167173
group = LifecycleBasePlugin.BUILD_GROUP
168174
description = "Builds the Ziti CLI"
169175
workingDir(srcDir)

0 commit comments

Comments
 (0)