Compare commits

..

2 commits

Author SHA1 Message Date
4f06b51138
chore(release): release rustypipe-downloader v0.1.1
All checks were successful
CI / Test (push) Successful in 2m59s
Release / Release (push) Successful in 3m10s
2024-06-27 14:00:55 +02:00
3aff55c76c
ci: fix release changelog extraction 2024-06-27 14:00:20 +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 CL_PATH="$CRATE/$CL_PATH"; fi
if [[ "$CRATE" != "rustypipe" ]]; then pfx="rustypipe-"; CL_PATH="${CRATE#"$pfx"}/$CL_PATH"; fi
{
echo 'CHANGELOG<<END_OF_FILE'
awk 'BEGIN{RS="(^|\n)## [^\n]+\n*"} NR==2 { print }' "$CL_PATH"