From d456654367eae704a633ce98f6c531915f3c3d86 Mon Sep 17 00:00:00 2001 From: Renan Pinheiro Date: Sat, 11 Mar 2023 12:47:55 -0300 Subject: [PATCH] fix: artifacts name --- .github/workflows/release-mac.yml | 3 ++- package.json | 9 ++++++--- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/.github/workflows/release-mac.yml b/.github/workflows/release-mac.yml index 559addf..c877ff3 100644 --- a/.github/workflows/release-mac.yml +++ b/.github/workflows/release-mac.yml @@ -40,6 +40,7 @@ jobs: path: | ./dist/*.dmg ./dist/*.blockmap + ./dist/*.zip ./dist/latest-mac.yml - name: "Upload Artifacts to Release" @@ -47,7 +48,7 @@ jobs: with: allowUpdates: true artifactErrorsFailBuild: true - artifacts: "dist/*.dmg,dist/*.blockmap,dist/latest-mac.yml" + artifacts: "dist/*.dmg,dist/*.blockmap,dist/*.zip,dist/latest-mac.yml" token: ${{ secrets.GITHUB_TOKEN }} omitBodyDuringUpdate: true omitNameDuringUpdate: true \ No newline at end of file diff --git a/package.json b/package.json index 92570a7..69b3f4c 100644 --- a/package.json +++ b/package.json @@ -26,11 +26,13 @@ "productName": "CPAvalanche Client", "asar": "false", "win": { - "publish": "github" + "publish": "github", + "artifactName": "CPAvalanche-Client-Setup-${version}.${ext}" }, "mac": { "category": "game", - "icon": "./assets/icon.icns" + "icon": "./assets/icon.icns", + "artifactName": "CPAvalanche-Client-${version}.${ext}" }, "linux": { "category": "game", @@ -45,7 +47,8 @@ "appImage": { "synopsis": "Cliente do Club Penguin Avalanche", "description": "Cliente que permite jogar CPAvalanche.", - "category": "Games" + "category": "Games", + "artifactName": "CPAvalanche-Client-${version}.${ext}" }, "protocols": [ {