Skip to content

Commit

Permalink
[Release]Update getReleaseInfo.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
Bluemangoo authored Apr 30, 2024
1 parent 28315f4 commit 2d71fc8
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/getReleaseInfo.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
version=$(grep version Cargo.toml -m 1 | cut -d'=' -f2 | tr -d "\r" | tr -d ' ' | tr -d '"' | tr -d "'")
echo $version
release_info=release.md
echo $release_info
echo "## Changes" > $release_info
number=$(git log --oneline master ^`git describe --tags --abbrev=0` | wc -l)
echo $number
echo "$(git log --pretty='> [%h] %s' -$number)" >> $release_info

0 comments on commit 2d71fc8

Please sign in to comment.