Compare commits

..

2 commits

Author SHA1 Message Date
250354e271
chore(release): release rustypipe-downloader v0.1.1
Some checks failed
Release / Release (push) Failing after 40s
CI / Test (push) Successful in 2m16s
2024-06-27 13:53:57 +02:00
dfc7d7a702
ci: fix release changelog extraction 2024-06-27 13:53:27 +02:00

View file

@ -17,7 +17,7 @@ jobs:
echo "CRATE=$CRATE" >> "$GITHUB_ENV"
echo "CRATE_VERSION=$(echo '${{ github.ref_name }}' | awk 'BEGIN{RS="/"} NR==2{print}')" >> "$GITHUB_ENV"
CL_PATH="CHANGELOG.md"
if [[ "$CRATE" != "rustypipe" ]]; then pfx="rustypipe-"; CL_PATH="${CRATE#"$pfx"}/$CL_PATH"; fi
if [[ "$CRATE" != "rustypipe" ]]; then CL_PATH="$CRATE/$CL_PATH"; fi
{
echo 'CHANGELOG<<END_OF_FILE'
awk 'BEGIN{RS="(^|\n)## [^\n]+\n*"} NR==2 { print }' "$CL_PATH"