From 489930ca6329c8c407e403c58086dc32b5c71657 Mon Sep 17 00:00:00 2001 From: Kai <7630809+Kailai-Wang@users.noreply.github.com> Date: Mon, 18 Mar 2024 10:03:34 +0100 Subject: [PATCH] Hot fix the toml path for release script (#2584) --- scripts/generate-release-notes.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/generate-release-notes.sh b/scripts/generate-release-notes.sh index f35af216fe..471de6a1e9 100755 --- a/scripts/generate-release-notes.sh +++ b/scripts/generate-release-notes.sh @@ -57,9 +57,9 @@ if is_client_release; then fi fi -SUBSTRATE_DEP=$(grep -F 'https://github.com/paritytech/substrate' node/Cargo.toml | head -n1 | sed 's/.*branch = "//;s/".*//') -POLKADOT_DEP=$(grep -F 'https://github.com/paritytech/polkadot' node/Cargo.toml | head -n1 | sed 's/.*branch = "//;s/".*//') -CUMULUS_DEP=$(grep -F 'https://github.com/paritytech/cumulus' node/Cargo.toml | head -n1 | sed 's/.*branch = "//;s/".*//') +SUBSTRATE_DEP=$(grep -F 'https://github.com/paritytech/substrate' ./Cargo.toml | head -n1 | sed 's/.*branch = "//;s/".*//') +POLKADOT_DEP=$(grep -F 'https://github.com/paritytech/polkadot' ./Cargo.toml | head -n1 | sed 's/.*branch = "//;s/".*//') +CUMULUS_DEP=$(grep -F 'https://github.com/paritytech/cumulus' ./Cargo.toml | head -n1 | sed 's/.*branch = "//;s/".*//') echo > "$1" echo "## This is a release for:" >> "$1"