Skip to content

Commit

Permalink
Hot fix the toml path for release script (#2584)
Browse files Browse the repository at this point in the history
  • Loading branch information
Kailai-Wang committed Mar 18, 2024
1 parent a9c2c99 commit 489930c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions scripts/generate-release-notes.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 489930c

Please sign in to comment.