Update scripts/publish-app-record.sh
Some checks failed
Publish ApplicationRecord to Registry / cns_publish (push) Has been cancelled
Some checks failed
Publish ApplicationRecord to Registry / cns_publish (push) Has been cancelled
This commit is contained in:
parent
faadcb6d45
commit
21a21fa3a8
@ -20,11 +20,11 @@ rcd_app_version=$(jq -r '.version' package.json | sed 's/null//')
|
||||
cat <<EOF > "$CONFIG_FILE"
|
||||
services:
|
||||
registry:
|
||||
rpcEndpoint: '${CERC_REGISTRY_RPC_ENDPOINT:-http://testnet-a-1.dev.vaasl.io:26657}'
|
||||
gqlEndpoint: '${CERC_REGISTRY_GQL_ENDPOINT:-http://testnet-a-1.dev.vaasl.io:9473/api}'
|
||||
chainId: ${CERC_REGISTRY_CHAIN_ID:-laconic-08062024}
|
||||
rpcEndpoint: '${CERC_REGISTRY_RPC_ENDPOINT:-https://laconicd.laconic.com}'
|
||||
gqlEndpoint: '${CERC_REGISTRY_GQL_ENDPOINT:-https://laconicd.laconic.com/api}'
|
||||
chainId: ${CERC_REGISTRY_CHAIN_ID:-laconic_9000-1}
|
||||
gas: 900000
|
||||
fees: 900000alnt
|
||||
fees: 1900000alnt
|
||||
EOF
|
||||
|
||||
next_ver=$(laconic -c $CONFIG_FILE registry record list --type ApplicationRecord --all --name "$rcd_name" 2>/dev/null | jq -r -s ".[] | sort_by(.createTime) | reverse | [ .[] | select(.bondId == \"$CERC_REGISTRY_BOND_ID\") ] | .[0].attributes.version" | awk -F. -v OFS=. '{$NF += 1 ; print}')
|
||||
|
Loading…
Reference in New Issue
Block a user