Compare commits
2 commits
4f06b51138
...
250354e271
Author | SHA1 | Date | |
---|---|---|---|
250354e271 | |||
dfc7d7a702 |
1 changed files with 1 additions and 1 deletions
|
@ -17,7 +17,7 @@ jobs:
|
||||||
echo "CRATE=$CRATE" >> "$GITHUB_ENV"
|
echo "CRATE=$CRATE" >> "$GITHUB_ENV"
|
||||||
echo "CRATE_VERSION=$(echo '${{ github.ref_name }}' | awk 'BEGIN{RS="/"} NR==2{print}')" >> "$GITHUB_ENV"
|
echo "CRATE_VERSION=$(echo '${{ github.ref_name }}' | awk 'BEGIN{RS="/"} NR==2{print}')" >> "$GITHUB_ENV"
|
||||||
CL_PATH="CHANGELOG.md"
|
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'
|
echo 'CHANGELOG<<END_OF_FILE'
|
||||||
awk 'BEGIN{RS="(^|\n)## [^\n]+\n*"} NR==2 { print }' "$CL_PATH"
|
awk 'BEGIN{RS="(^|\n)## [^\n]+\n*"} NR==2 { print }' "$CL_PATH"
|
||||||
|
|
Loading…
Reference in a new issue