Skip to content

Commit

Permalink
Include branch name in version
Browse files Browse the repository at this point in the history
  • Loading branch information
benfortuna committed Mar 22, 2016
1 parent ab58341 commit f68f578
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ scmVersion {
tag {
prefix = 'ical4j-vcard'
}
versionCreator 'versionWithBranch'
}

group = 'org.mnode.ical4j'
Expand All @@ -67,11 +68,6 @@ description = '''
Support for the vCard specification
'''

signing {
required { isReleaseVersion && gradle.taskGraph.hasTask("uploadArchives") }
sign configurations.archives
}

ext {
isReleaseVersion = !version.endsWith("SNAPSHOT")

Expand All @@ -80,6 +76,11 @@ ext {
sonatypePassword = project.hasProperty('sonatypePassword') ? project.getProperty('sonatypePassword') : ''
}

signing {
required { isReleaseVersion && gradle.taskGraph.hasTask("uploadArchives") }
sign configurations.archives
}

uploadArchives {
repositories {
mavenDeployer {
Expand Down

0 comments on commit f68f578

Please sign in to comment.