fixed path to package json

This commit is contained in:
plamen5kov
2016-02-01 11:04:58 +02:00
parent a0b261d29a
commit 790a6da8ab

View File

@@ -63,7 +63,7 @@ task cleanDistDir (type: Delete) {
task fixVersion << {
if(project.hasProperty("PACKAGE_VERSION")) {
def inputFile = new File("./package.json")
def inputFile = new File("../package.json")
def json = new JsonSlurper().parseText(inputFile.text)
json.version = json.version + "-" + PACKAGE_VERSION
def jb = new JsonBuilder(json);