From 59506f9dc7533b3d05bc102cc049c6063599fc82 Mon Sep 17 00:00:00 2001 From: Kai <7630809+Kailai-Wang@users.noreply.github.com> Date: Wed, 28 Aug 2024 09:23:23 +0200 Subject: [PATCH] Update dep text in release notes (#3027) --- scripts/generate-release-notes.sh | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/scripts/generate-release-notes.sh b/scripts/generate-release-notes.sh index 4755bb08c8..0ad0828145 100755 --- a/scripts/generate-release-notes.sh +++ b/scripts/generate-release-notes.sh @@ -59,9 +59,8 @@ if is_client_release; then fi fi -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/".*//') +SUBSTRATE_DEP=$(grep 'frame-system' ./Cargo.toml | head -n1 | sed 's/.*branch = "//;s/".*//') +FRONTIER_DEP=$(grep 'fc-api' ./Cargo.toml | head -n1 | sed 's/.*branch = "//;s/".*//') echo > "$1" echo "## This is a release for:" >> "$1" @@ -95,8 +94,7 @@ cat << EOF >> "$1" Substrate : $SUBSTRATE_DEP -Polkadot : $POLKADOT_DEP -Cumulus : $CUMULUS_DEP +Frontier : $FRONTIER_DEP EOF