Skip to content

Commit

Permalink
Merge pull request #613 from samtools/dr_remove_dirty_from_jarname
Browse files Browse the repository at this point in the history
Remove the ".dirty" from htsjdk jar names
  • Loading branch information
droazen committed May 25, 2016
2 parents 72ae3f7 + 841e47f commit 5560c3d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,8 @@ sourceCompatibility = 1.8
targetCompatibility = 1.8

final isRelease = Boolean.getBoolean("release")
version = isRelease ? gitVersion() : gitVersion() + "-SNAPSHOT"
final gitVersion = gitVersion().replaceAll(".dirty", "")
version = isRelease ? gitVersion : gitVersion + "-SNAPSHOT"

logger.info("build for version:" + version)
group = 'com.github.samtools'
Expand Down

0 comments on commit 5560c3d

Please sign in to comment.