Compare commits
2 commits
250354e271
...
4f06b51138
Author | SHA1 | Date | |
---|---|---|---|
4f06b51138 | |||
3aff55c76c |
1 changed files with 1 additions and 1 deletions
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue