upgrade: ypktool 0.5.0

This commit is contained in:
CaiHQ 2022-05-20 09:26:31 +08:00
parent 59cb238095
commit f372e358a1
2 changed files with 4 additions and 5 deletions

View File

@ -94,6 +94,6 @@ task buildYPK(dependsOn: ["buildZip"]) {
} }
task deploy(dependsOn: ["buildYPK"]) { task deploy(dependsOn: ["buildYPK"]) {
doLast { doLast {
org.bdware.ypkdeploy.HTTPTool.batchRun("./backend/deployconfig.json", true) org.bdware.ypkdeploy.HTTPTool.deployWithYpk("./backend/deployconfig.json", "${reltivePath}/build/contractexample-${currVersion}.ypk")
} }
} }

View File

@ -1,10 +1,9 @@
{ {
"host": "ip", "agentAddress": "ip:port",
"privateKey": "e85ce2f4d8...", "privateKey": "e85ce2f4d8...",
"publicKey": "04da01345770b7e09d4774bf6cd67bf90b32eaa09f517c79b2d1f9b8a926", "publicKey": "04da01345770b7e09d4774bf6cd67bf90b32eaa09f517c79b2d1f9b8a926",
"ypkPath": "./backend/build/contractexample-1.1.0.ypk", "ypkPath": "./backend/build/contractexample-1.2.0.ypk",
"killBeforeStart": "ContractID/ContractName", "killBeforeStart": "ContractID/ContractName",
"createParam": { "createParam": {
}, }
"agentPort": 21030
} }