From 89216f238778804a651fa1cd71ce7ceab644c38d Mon Sep 17 00:00:00 2001 From: qier222 Date: Sun, 7 Mar 2021 17:41:57 +0800 Subject: [PATCH] chore: update package.json --- .github/workflows/build.yaml | 8 +++++++- package.json | 2 +- vue.config.js | 2 +- 3 files changed, 9 insertions(+), 3 deletions(-) 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, },