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 57845e1 commit 4262c29
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -55,10 +55,7 @@ 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
echo "===== Commit file ====="
cat commit.log
echo "====== files end ======"
git log $PREVIOUS_TAG...$LATEST_TAG --pretty=format:"%h - %s | " -5 > commit.log
echo "::set-output name=message::$(cat commit.log)"
- name: Rust Cache
Expand Down

0 comments on commit 4262c29

Please sign in to comment.