Skip to content

Commit

Permalink
ci: 尝试多行字符串
Browse files Browse the repository at this point in the history
  • Loading branch information
Anselyuki committed Nov 1, 2023
1 parent 4262c29 commit 6bdd66e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,8 @@ jobs:
tags=$(git tag | grep -E $tag_pattern | sort -Vr )
PREVIOUS_TAG=$( echo "$tags" | head -n2| tail -n1 )
git log $PREVIOUS_TAG...$LATEST_TAG --pretty=format:"%h - %s | " -5 > commit.log
git log $PREVIOUS_TAG...$LATEST_TAG --pretty=format:"%h - %s " -5 > commit.tmp
paste -s -d '|' commit.tmp > commit.log
echo "::set-output name=message::$(cat commit.log)"
- name: Rust Cache
Expand Down

0 comments on commit 6bdd66e

Please sign in to comment.