Skip to content

Commit

Permalink
[Release]Update release.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Bluemangoo authored Apr 30, 2024
1 parent 2f13659 commit 28315f4
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -128,16 +128,7 @@ jobs:
path: artifacts
merge-multiple: true
- name: Generate release info and tag
run: |
version=$(grep version Cargo.toml -m 1 | cut -d'=' -f2 | tr -d "\r" | tr -d ' ' | tr -d '"' | tr -d "'")
# git config user.name "github-actions[bot]"
# git config user.email "41898282+github-actions[bot]@users.noreply.github.com"
# git tag $version
# git push origin --tags
release_info=release.md
echo "## Changes" > $release_info
number=$(git log --oneline master ^`git describe --tags --abbrev=0` | wc -l)
echo "$(git log --pretty='> [%h] %s' -$number)" >> $release_info
run: sh .github/workflows/getReleaseInfo.sh
- run: |
echo ${{env.version}}
echo ${{env.release_info}}
Expand Down

0 comments on commit 28315f4

Please sign in to comment.