Skip to content
Snippets Groups Projects
Commit f6ee0b44 authored by Nikolaus Krismer's avatar Nikolaus Krismer
Browse files

minor bugfix in versioning

parent dcd9dc9f
No related branches found
No related tags found
No related merge requests found
...@@ -66,7 +66,7 @@ if (project.hasProperty('releaseVersion')) { ...@@ -66,7 +66,7 @@ if (project.hasProperty('releaseVersion')) {
} }
gradle.taskGraph.whenReady {taskGraph -> gradle.taskGraph.whenReady {taskGraph ->
if (taskGraph.hasTask(release)) { if (!isRelease && taskGraph.hasTask(release)) {
version = version.substring(0, version.indexOf('-SNAPSHOT')) version = version.substring(0, version.indexOf('-SNAPSHOT'))
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment