diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 560c85a..94a00aa 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -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: diff --git a/package.json b/package.json index 3c53f05..6eadc13 100644 --- a/package.json +++ b/package.json @@ -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": {