Skip to content

Commit

Permalink
change release standard
Browse files Browse the repository at this point in the history
  • Loading branch information
yidongnan committed Jun 18, 2018
1 parent b4ad405 commit f7d20bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion deploy.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ gradle.taskGraph.whenReady { taskGraph ->

ext {
pomFile = file("${project.buildDir}/generated-pom.xml")
isReleaseVersion = (projectVersion =~ /\.RELEASE$/)
isReleaseVersion = !(projectVersion =~ /\.SNAPSHOT$/)
isPublishing = {
gradle.taskGraph.allTasks.find { it.name =~ /(?:^|:)publish[^:]*ToMaven[^:]*$/ } != null
}
Expand Down

0 comments on commit f7d20bf

Please sign in to comment.