Skip to content

Commit

Permalink
- 设置项可自定义每个标题级别的序号
Browse files Browse the repository at this point in the history
  • Loading branch information
dale0525 committed Dec 26, 2023
1 parent 7352590 commit 53fb81e
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,4 @@ jobs:
commit_message=$(git log -1 --pretty=%B)
release_title="v$current_version"
echo "Creating release $release_title"
release_id=$(curl -s -X POST -H "Authorization: Bearer ${{ secrets.GH_TOKEN }}" -d "{\"tag_name\": \"$release_title\", \"name\": \"$release_title\", \"body\": \"$commit_message\"}" "https://api.github.com/repos/${{ github.repository }}/releases" | jq -r '.id')
zip_path="${{ steps.build.outputs.zip_path }}"
echo "Uploading binary to release $release_id"
gh release upload $release_title $zip_path
gh release create $release_title ${{ steps.build.outputs.zip_path }} -t $release_title -n "$commit_message"

0 comments on commit 53fb81e

Please sign in to comment.