Skip to content

Commit

Permalink
Set proper version
Browse files Browse the repository at this point in the history
  • Loading branch information
janseeger committed Oct 27, 2023
1 parent aac03d1 commit 877c320
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,6 @@ private fun Project.setupReleaseBuild() {

private fun Project.setupVersionInfo() {
val versionProperties = File(project.rootDir, "version.properties")
println("version properties: $versionProperties")
versionProperties.inputStream().use { inputStream ->
Properties().apply {
load(inputStream)
Expand All @@ -68,7 +67,7 @@ private fun Project.setupPublishing(): Publication {
register<MavenPublication>("release") {
groupId = "de.sipgate"
artifactId = project.name
version = "0.1"
version = project.version.toString()

setPom()

Expand Down

0 comments on commit 877c320

Please sign in to comment.