Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update dep text in release notes #3027

Merged
merged 1 commit into from
Aug 28, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 3 additions & 5 deletions scripts/generate-release-notes.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -95,8 +94,7 @@ cat << EOF >> "$1"

<CODEBLOCK>
Substrate : $SUBSTRATE_DEP
Polkadot : $POLKADOT_DEP
Cumulus : $CUMULUS_DEP
Frontier : $FRONTIER_DEP
<CODEBLOCK>

EOF
Expand Down