diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 06a6a0a..325161d 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -1,4 +1,4 @@ -name: Build/release +name: Build / Release on: [push, pull_request] @@ -26,6 +26,12 @@ jobs: sudo apt-get install --no-install-recommends -y rpm && sudo apt-get install --no-install-recommends -y bsdtar + - name: Install Snapcraft (only on Ubuntu) + uses: samuelmeuli/action-snapcraft@v1 + if: startsWith(matrix.os, 'ubuntu') + with: + snapcraft_token: ${{ secrets.snapcraft_token }} + - name: Build/release Electron app uses: samuelmeuli/action-electron-builder@v1.6.0 with: diff --git a/package.json b/package.json index 2f7e78c..28f6120 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "YesPlayMusic", - "version": "0.3.3", + "version": "0.3.4", "private": true, "description": "A third party music application for Netease Music", "author": "hawtim", diff --git a/vue.config.js b/vue.config.js index 3243600..3f356b8 100644 --- a/vue.config.js +++ b/vue.config.js @@ -88,7 +88,7 @@ module.exports = { arch: ["x64", "arm64", "universal"], }, ], - artifactName: "${productName}-${os}-${arch}.${ext}", + artifactName: "${productName}-${os}-${version}-${arch}.${ext}", category: "public.app-category.music", darkModeSupport: true, },