From aad2337b21caba48b8ea7d326d8b23b3d7dcc0a3 Mon Sep 17 00:00:00 2001 From: enrique Date: Mon, 8 Jul 2024 16:04:51 +0200 Subject: [PATCH] fix: update name in the deployment --- package.json | 1 + scripts/deploy-studio.sh | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 77e5aa1..8d40d26 100644 --- a/package.json +++ b/package.json @@ -11,6 +11,7 @@ "graph:update-network": "./scripts/update-network.sh", "graph:create-hosted": "./scripts/create-hosted.sh", "graph:deploy-hosted": "./scripts/deploy-hosted.sh", + "graph:deploy-studio": "./scripts/deploy-studio.sh", "artifacts:download": "./scripts/download-artifacts.sh" }, "license": "Apache-2.0", diff --git a/scripts/deploy-studio.sh b/scripts/deploy-studio.sh index e85cb3a..43c5983 100755 --- a/scripts/deploy-studio.sh +++ b/scripts/deploy-studio.sh @@ -15,5 +15,5 @@ do CONTRACT_NAME=$(jq .name < $artifact | tr -d '"') BASENAME=$(jq .name < $artifact | tr -d '"' | tr "[:upper:]" "[:lower:]") echo "Deploying $TAG$NETWORK$VERSION$BASENAME" - (cd "subgraphs/$CONTRACT_NAME" && graph deploy --studio nevermined-io/$TAG$NETWORK$VERSION$BASENAME) + (cd "subgraphs/$CONTRACT_NAME" && graph deploy --studio $TAG$NETWORK$VERSION$BASENAME -l v3.5.7) done \ No newline at end of file