Include 'to'
All checks were successful
Publish ApplicationRecord to Registry / cns_publish (release) Successful in 1m28s

This commit is contained in:
Thomas E Lackey 2024-08-21 13:30:57 -05:00
parent f03bcf42f1
commit 9aa297a033
2 changed files with 4 additions and 1 deletions

View File

@ -1,6 +1,6 @@
{
"name": "@cerc-io/webapp-deployment-status-ui",
"version": "0.1.6",
"version": "0.1.7",
"private": true,
"homepage": "LACONIC_HOSTED_CONFIG_homepage",
"repository": "https://git.vdb.to/cerc-io/webapp-deployment-status-ui",

View File

@ -30,6 +30,8 @@ if [ -z "$APP_RECORD" ] || [ "null" == "$APP_RECORD" ]; then
exit 1
fi
MY_ACCOUNT=$(laconic -c $CONFIG_FILE registry account get | jq -r '.[0].address')
cat <<EOF | sed '/.*: ""$/d' > "$RECORD_FILE"
record:
type: ApplicationDeploymentRequest
@ -38,6 +40,7 @@ record:
application: "$CERC_REGISTRY_APP_LRN@$rcd_app_version"
dns: "$CERC_REGISTRY_DEPLOYMENT_HOSTNAME"
deployment: "$CERC_REGISTRY_DEPLOYMENT_LRN"
to: $MY_ACCOUNT
config:
env:
CERC_WEBAPP_DEBUG: "$rcd_app_version"