Skip to content

Commit 52e340a

Browse files
committed
update release section in gh action script
1 parent 771ccb1 commit 52e340a

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

.github/workflows/cmake.yml

+7-3
Original file line numberDiff line numberDiff line change
@@ -347,16 +347,20 @@ jobs:
347347
steps:
348348
- name: Create Release
349349
id: create_release
350-
uses: softprops/action-gh-release@v2
350+
uses: softprops/action-gh-release@v2 # https://github.com/softprops/action-gh-release
351351
# if: startsWith(github.ref, 'refs/tags/')
352352
env:
353353
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
354354
with:
355-
tag_name: ${{ github.ref }}
356-
release_name: Release ${{ github.ref }}
355+
# tag_name: ${{ github.ref_name }}
356+
# release_name: Release ${{ github.ref_name }}
357357
draft: false
358358
prerelease: false
359359
generate_release_notes: true
360+
append_body: true
361+
files: |
362+
docs/release-${{ github.ref_name }}.txt
363+
LICENSE
360364
361365
- name: Store Release url
362366
run: |

0 commit comments

Comments
 (0)