Skip to content

Commit

Permalink
Fix wrong version generated in jenkins when build release tag (#8)
Browse files Browse the repository at this point in the history
  • Loading branch information
devkanro authored May 23, 2020
1 parent 6a22aff commit a5f02c5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@ open class SisyphusExtension(val project: Project) {

version = when {
developer != null -> "$developer-SNAPSHOT"
branchName != null -> "$branchName-SNAPSHOT"
tagName != null -> "$tagName"
branchName != null -> "$branchName-SNAPSHOT"
else -> project.version as String
}

Expand Down

0 comments on commit a5f02c5

Please sign in to comment.