Test publishing #3

Merged
telackey merged 10 commits from telackey/pub into main 2023-11-22 23:37:10 +00:00
Showing only changes of commit ee983aae74 - Show all commits

View File

@ -26,7 +26,7 @@ services:
fees: 200000aphoton fees: 200000aphoton
EOF EOF
next_ver=$(laconic -c $CONFIG_FILE cns record list --type ApplicationRecord --all --name "$rcd_name" 2>/dev/null | jq -r '.[0].attributes.version' | awk -F. -v OFS=. '{$NF += 1 ; print}') next_ver=$(laconic -c $CONFIG_FILE cns record list --type ApplicationRecord --all --name "$rcd_name" 2>/dev/null | jq -s '.[] | sort_by(.createTime) | reverse' | jq -r '.[0].attributes.version' | awk -F. -v OFS=. '{$NF += 1 ; print}')
cat <<EOF | sed '/.*: ""$/d' > "$RECORD_FILE" cat <<EOF | sed '/.*: ""$/d' > "$RECORD_FILE"
record: record: