Skip to content

Commit

Permalink
perf: 优化生成包的文件名格式 (#115)
Browse files Browse the repository at this point in the history
* perf: 优化生成包的文件名格式

* perf: 移除windows的名称模板

* fix: Fix name for continuous
  • Loading branch information
msojocs authored May 11, 2024
1 parent a02648b commit 9fb9f2b
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,12 @@ jobs:
version=$(cat conf/bilibili_version)
tar -zcf tmp/build/bilibili-${version}-${{ steps.tag.outputs.tag }}-${{ matrix.ARCH }}.tar.gz bin app electron
- name: Fix name for continuous
if: steps.tag.outputs.tag != 'continuous'
run: |
version=$(cat conf/bilibili_version)
mv ./tmp/build/bilibili-${version}-${{ steps.tag.outputs.tag }}-${{ matrix.ARCH }}.tar.gz ./tmp/build/bilibili-${{ steps.tag.outputs.tag }}-${{ matrix.ARCH }}.tar.gz
- name: Upload artifact
uses: actions/upload-artifact@v2.3.1
with:
Expand Down
3 changes: 3 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,9 @@
"synopsis": "BiliBili client for Linux.",
"description": "BiliBili client for Linux with roaming.",
"category": "AudioVideo"
},
"appImage": {
"artifactName": "${productName}-${version}-${arch}.${ext}"
}
},
"scripts": {
Expand Down

0 comments on commit 9fb9f2b

Please sign in to comment.