Skip to content

Commit

Permalink
package zip add version
Browse files Browse the repository at this point in the history
  • Loading branch information
Sonic853 committed Aug 15, 2024
1 parent 5db4b09 commit d7d4504
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ jobs:
- name: Create ZIP archive
if: steps.read_version.outputs.last_tag != steps.read_version.outputs.current_version
run: |
zip -r ${{ steps.read_version.outputs.name }}.zip . -x ".git*" ".github*"
zip -r ${{ steps.read_version.outputs.name }}-${{ steps.read_version.outputs.current_version }}.zip . -x ".git*" ".github*"
- name: Release
if: steps.read_version.outputs.last_tag != steps.read_version.outputs.current_version
Expand Down Expand Up @@ -83,4 +83,4 @@ jobs:
如需获得使用此储存库以及商品的授权,请联系作者 Sonic853 ([email protected]) 获取授权或访问 [爱发电](https://afdian.com/a/Sonic853) 手动获取授权。
tag_name: ${{ steps.read_version.outputs.current_version }}
files: ${{ steps.read_version.outputs.name }}.zip
files: ${{ steps.read_version.outputs.name }}-${{ steps.read_version.outputs.current_version }}.zip

0 comments on commit d7d4504

Please sign in to comment.