Commit 5fe66953 authored by Alexey Tsvetkov's avatar Alexey Tsvetkov

Add separate property for deploy version on CI

It is useful to have two separate default values: one for local development and one for CI.
This will allow us to advance published version without
touching CI configuration.
parent 894f473a
......@@ -5,8 +5,13 @@ plugins {
`cpp-library`
`maven-publish`
}
val isCIBuild = project.hasProperty("teamcity")
group = "org.jetbrains.skiko"
version = project.property("deploy.version") as String
version = when {
isCIBuild -> project.property("deploy.ci.version") as String
else -> project.property("deploy.version") as String
}
val skiaDir = System.getenv("SKIA_DIR") ?: "/Users/igotti/compose/skija/third_party/skia"
val hostOs = System.getProperty("os.name")
......
kotlin.code.style=official
deploy.version=0.1-SNAPSHOT
deploy.ci.version=0.1
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment