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 cb26981 commit b0fd081
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/getReleaseInfo.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
version=$(grep version Cargo.toml -m 1 | cut -d'=' -f2 | tr -d "\r" | tr -d ' ' | tr -d '"' | tr -d "'")
echo $version
echo "version=$version">>$GITHUB_ENV
release_info=release.md
echo "release_info=$release_info">>$GITHUB_ENV
echo "## Changes" > $release_info
number=$(git log --oneline $(git rev-parse `git describe --tags --abbrev=0`)..HEAD | wc -l)
echo "$(git log --pretty='> [%h] %s' -$number)" >> $release_info

0 comments on commit b0fd081

Please sign in to comment.