Skip to content

Commit

Permalink
Merge pull request #54 from ballerina-platform/ThisaruGuruge-patch-1
Browse files Browse the repository at this point in the history
Update Module Version
  • Loading branch information
ThisaruGuruge authored Feb 11, 2021
2 parents 965c016 + 9acfcf7 commit 941cc15
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -60,10 +60,7 @@ subprojects {
apply plugin: 'java'
}

def moduleVersion = project.version
if (moduleVersion.indexOf('-') != -1) {
moduleVersion = moduleVersion.substring(0, moduleVersion.indexOf('-'))
}
def moduleVersion = project.version.replace("-SNAPSHOT", "")

release {
failOnPublishNeeded = false
Expand Down

0 comments on commit 941cc15

Please sign in to comment.