Skip to content

Commit

Permalink
feat: introduce releasing through git tags
Browse files Browse the repository at this point in the history
  • Loading branch information
jimirocks committed Feb 17, 2024
1 parent 3f5a2d5 commit 21dd821
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
11 changes: 10 additions & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,22 @@ plugins {
alias(libs.plugins.detekt)
alias(libs.plugins.kover)
alias(libs.plugins.dokka)
alias(libs.plugins.axion.release)
`maven-publish`
signing
alias(libs.plugins.nexus.publish)
}

group = "cz.smarteon.loxone"
version = "0.1.0-SNAPSHOT"

scmVersion {
tag {
prefix.set(project.name)
versionSeparator.set("-")
}
}

project.version = scmVersion.version

repositories {
mavenCentral()
Expand Down
1 change: 1 addition & 0 deletions gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -45,3 +45,4 @@ detekt = { id = "io.gitlab.arturbosch.detekt", version.ref = "detekt"}
kover = { id = "org.jetbrains.kotlinx.kover", version = "0.7.5" }
dokka = { id = "org.jetbrains.dokka", version = "1.9.10" }
nexus-publish = { id = "io.github.gradle-nexus.publish-plugin", version = "1.3.0" }
axion-release = { id = "pl.allegro.tech.build.axion-release", version = "1.17.0" }

0 comments on commit 21dd821

Please sign in to comment.