diff --git a/scripts/deploy.sh b/scripts/deploy.sh index 9662b43..cc3a1ae 100755 --- a/scripts/deploy.sh +++ b/scripts/deploy.sh @@ -23,7 +23,6 @@ REPO="https://git.vdb.to/LaconicNetwork/laconic-dot-com" # Get the commit hash for the tag using GitHub API COMMIT_HASH=`git log -1 --format="%H"` - # Create temporary files RECORD_FILE=tmp.rf.$$ CONFIG_FILE=$(mktemp) @@ -71,6 +70,7 @@ if [ ! -z "$DEPLOYER_LRN" ]; then if [[ -n "$paymentAmount" && "$paymentAmount" != "null" ]]; then payment=$(laconic -c $CONFIG_FILE registry tokens send --address "$paymentAddress" --type alnt --quantity "$paymentAmount" --user-key "$CERC_REGISTRY_USER_KEY" --bond-id "$CERC_REGISTRY_BOND_ID") + echo "payment $payment" txHash=$(echo "$payment" | jq -r '.tx.hash') echo "Paid deployer with txHash: $txHash" else