Open IgorShadurin opened 2 years ago
Please triage for urgency @nugaon .
Please add your planning poker estimate with ZenHub @nugaon
it is not that urgent as this should be built by the github ci which uses Linux.
since I don't have mac to try out the mac solution, maybe @IgorShadurin could address this issue and find the solution that works on OSX as well.
To extract the contract address from the DEPLOYMENT_OUTPUT variable on Mac and Ubuntu, use the awk command. This solution uses awk to match lines with the FDSRegistrar deployed to: string and prints the fourth field, which should be the contract address. Here's an example:
FDS_REGISTRAR_ADDRESS=$(echo $DEPLOYMENT_OUTPUT | awk '/FDSRegistrar deployed to:/ {print $4}')
But it should be tester with real data
https://github.com/fairDataSociety/fdp-contracts/blob/1909737246399bd7546a116856db03f34a55ace6/scripts/build-image.sh#L26
this command throw an error on mac os
Info from stackoverflow
It would be great to replace it with some params that supported on mac os.