Skip to content

Commit

Permalink
Fix versioning
Browse files Browse the repository at this point in the history
- synchronize bintray and project versions
- always set project version
  • Loading branch information
zolotov committed Sep 9, 2016
1 parent 00484a4 commit 6df06da
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
7 changes: 3 additions & 4 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,8 @@ task fatJar(type: Jar, group: 'build') {
}

group = 'org.jetbrains.intellij'
if (hasProperty("buildNumber")) {
version = "0.3.$buildNumber"
}
version = "0.3.$buildNumber"

apply plugin: 'maven-publish'

task sourceJar(type: Jar) {
Expand Down Expand Up @@ -81,7 +80,7 @@ if (hasProperty("bintrayUser")) {
repo = "intellij-plugin-service"
name = "plugin-repository-rest-client"
version {
name = "0.2.$buildNumber"
name = project.version
}
}
}
Expand Down
1 change: 1 addition & 0 deletions gradle.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
buildNumber=SNAPSHOT

0 comments on commit 6df06da

Please sign in to comment.