From 24c402f5f2f296a1df35d54fe1927030f96481d4 Mon Sep 17 00:00:00 2001 From: Saihajpreet Singh Date: Mon, 29 Jul 2024 14:46:29 -0400 Subject: [PATCH] fix: allow publishing without forcing network selection (#1701) --- .changeset/strong-camels-obey.md | 5 +++++ packages/cli/src/commands/publish.ts | 1 - 2 files changed, 5 insertions(+), 1 deletion(-) create mode 100644 .changeset/strong-camels-obey.md diff --git a/.changeset/strong-camels-obey.md b/.changeset/strong-camels-obey.md new file mode 100644 index 00000000..79249a1c --- /dev/null +++ b/.changeset/strong-camels-obey.md @@ -0,0 +1,5 @@ +--- +'@graphprotocol/graph-cli': patch +--- + +Allow publishing without forcing network or subgraph id diff --git a/packages/cli/src/commands/publish.ts b/packages/cli/src/commands/publish.ts index b0306839..df4a183a 100644 --- a/packages/cli/src/commands/publish.ts +++ b/packages/cli/src/commands/publish.ts @@ -31,7 +31,6 @@ export default class PublishCommand extends Command { options: ['arbitrum-one', 'arbitrum-sepolia'], default: 'arbitrum-one', required: false, - dependsOn: ['subgraph-id'], }), ipfs: Flags.string({ summary: 'Upload build results to an IPFS node.',