mirror of
https://github.com/status-im/status-react.git
synced 2025-01-09 10:42:53 +00:00
fix creation of pkg folder for latest.json
Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
parent
de8d109ba1
commit
001264bd1a
@ -22,10 +22,10 @@ def updateBucketJSON(urls, fileName) {
|
||||
]
|
||||
def filePath = "${pwd()}/pkg/${fileName}"
|
||||
/* it might not exist */
|
||||
sh 'mkdir -p pkg'
|
||||
sh "mkdir -p ${pwd()}/pkg"
|
||||
def contentJson = new JsonBuilder(content).toPrettyString()
|
||||
println "${fileName}:\n${contentJson}"
|
||||
new File(filePath).write(contentJson)
|
||||
println "${filePath}:\n${contentJson}"
|
||||
writeFile(file: filePath, text: contentJson)
|
||||
return uploadArtifact(filePath)
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user