We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f9785e2 commit 1743030Copy full SHA for 1743030
.drone.yml
@@ -87,7 +87,7 @@ steps:
87
commands:
88
- cd environments
89
- |
90
- ADDRESS=$(grep -o '"contractAddress":"[^"]*' ../packages/smart-contract/ignition/deployments/chain-134/journal.jsonl | tail -1 | cut -d'"' -f4)
+ ADDRESS=`jq -r '.contractAddress'`
91
BLOCK=$(grep -o '"blockNumber":[0-9]*' ../packages/smart-contract/ignition/deployments/chain-134/journal.jsonl | tail -1 | cut -d':' -f2)
92
KEY=dataprotectorContractAddress VALUE=$ADDRESS npm run update-env
93
KEY=dataprotectorStartBlock VALUE=$BLOCK npm run update-env
0 commit comments