Skip to content

Commit

Permalink
fix: artifacts name
Browse files Browse the repository at this point in the history
  • Loading branch information
renanrcp committed Mar 11, 2023
1 parent fb8bcec commit d456654
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/release-mac.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,14 +40,15 @@ jobs:
path: |
./dist/*.dmg
./dist/*.blockmap
./dist/*.zip
./dist/latest-mac.yml
- name: "Upload Artifacts to Release"
uses: "ncipollo/release-action@v1"
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
9 changes: 6 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand All @@ -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": [
{
Expand Down

0 comments on commit d456654

Please sign in to comment.