Skip to content
This repository has been archived by the owner on Mar 30, 2020. It is now read-only.

Commit

Permalink
Hotfix incorrect artifactId in pom for 1.3.1
Browse files Browse the repository at this point in the history
  • Loading branch information
ZacSweers committed Jul 4, 2015
1 parent 5ec2d40 commit 6c4a952
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,14 @@ subprojects {
}
}
}.writeTo("build/publications/maven/pom-default.xml")

if (project.name == "compiler") {
// Temporary hack to fix the release
File pomFile = file("compiler/build/publications/maven/pom-default.xml")
String content = pomFile.getText('UTF-8')
content = content.replaceAll('<artifactId>api</artifactId>', '<artifactId>barber-api</artifactId>')
pomFile.write(content, 'UTF-8')
}
}
}
}
Expand Down

0 comments on commit 6c4a952

Please sign in to comment.