Skip to content

Commit 9aba6fa

Browse files
committed
Update release binary names and include ${arch} wherever relevant
1 parent eed8d98 commit 9aba6fa

File tree

2 files changed

+6
-10
lines changed

2 files changed

+6
-10
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ jobs:
112112
- name: Submit package using wingetcreate
113113
run: |
114114
$packageVersion = "${{ github.ref }}" -replace 'refs/tags/v', ''
115-
$installerUrl = "https://github.com/httptoolkit/httptoolkit-desktop/releases/download/v$packageVersion/HttpToolkit-installer-$packageVersion.exe"
115+
$installerUrl = "https://github.com/httptoolkit/httptoolkit-desktop/releases/download/v$packageVersion/HttpToolkit-$packageVersion.exe"
116116
117117
# Update package using wingetcreate
118118
Invoke-WebRequest https://aka.ms/wingetcreate/latest -OutFile wingetcreate.exe

package.json

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,10 @@
5353
"extraResources": [
5454
"httptoolkit-server/**/*"
5555
],
56+
"artifactName": "HttpToolkit-${version}-${arch}.${ext}",
57+
"zip": {
58+
"artifactName": "HttpToolkit-${version}-${os}-${arch}.${ext}"
59+
},
5660
"mac": {
5761
"target": [
5862
"dmg"
@@ -65,20 +69,18 @@
6569
"notarize": true
6670
},
6771
"dmg": {
68-
"artifactName": "HttpToolkit-${version}.dmg"
6972
},
7073
"win": {
7174
"target": [
7275
"nsis",
7376
"zip"
7477
],
75-
"artifactName": "HttpToolkit-${os}-${arch}-${version}.${ext}",
7678
"icon": "./src/icons/icon.ico",
7779
"forceCodeSigning": true
7880
},
7981
"nsis": {
8082
"installerIcon": "./src/icons/icon.ico",
81-
"artifactName": "HttpToolkit-installer-${version}.exe",
83+
"artifactName": "HttpToolkit-${version}.exe",
8284
"deleteAppDataOnUninstall": true
8385
},
8486
"linux": {
@@ -89,7 +91,6 @@
8991
"zip"
9092
],
9193
"executableName": "httptoolkit",
92-
"artifactName": "HttpToolkit-${os}-${arch}-${version}.${ext}",
9394
"category": "Development",
9495
"icon": "./src/icons/icon.svg",
9596
"maintainer": "[email protected]",
@@ -103,7 +104,6 @@
103104
}
104105
},
105106
"deb": {
106-
"artifactName": "HttpToolkit-${version}.deb",
107107
"depends": [
108108
"libgtk-3-0",
109109
"libnotify4",
@@ -117,12 +117,8 @@
117117
]
118118
},
119119
"rpm": {
120-
"artifactName": "HttpToolkit-${version}.rpm",
121120
"afterRemove": "scripts/post-uninstall-rpm.sh"
122121
},
123-
"appImage": {
124-
"artifactName": "HttpToolkit-${version}.AppImage"
125-
},
126122
"publish": null
127123
},
128124
"dependencies": {

0 commit comments

Comments
 (0)