Skip to content

Commit 37847c9

Browse files
build: fix filename
1 parent 1b73eb4 commit 37847c9

File tree

4 files changed

+6
-4
lines changed

4 files changed

+6
-4
lines changed

.github/workflows/master-test.yaml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -82,10 +82,9 @@ jobs:
8282
for file in uploads/*; do
8383
[ -e "$file" ] || continue
8484
name=$(basename "$file")
85-
url_name="${name// /%20}"
86-
echo "Uploading $name as $url_name"
85+
echo "Uploading $name"
8786
curl --request POST \
88-
--url "https://uploads.github.com/repos/${{ github.repository }}/releases/${{ env.MASTER_PRE_RELEASE_ID }}/assets?name=$url_name" \
87+
--url "https://uploads.github.com/repos/${{ github.repository }}/releases/${{ env.MASTER_PRE_RELEASE_ID }}/assets?name=$name" \
8988
--header "authorization: Bearer $GITHUB_TOKEN" \
9089
--header "Content-Type: application/octet-stream" \
9190
--data-binary @"$file"

electron-builder-flatpak.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ linux:
2525
"out/**/*"
2626
]
2727
category: Utility
28+
artifactName: "FlyByWire-Installer-${version}-${arch}.${ext}"
2829
flatpak:
2930
runtime: org.freedesktop.Platform
3031
runtimeVersion: "23.08"

electron-builder-snap.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,3 +22,4 @@ linux:
2222
"out/**/*"
2323
]
2424
category: Utility
25+
artifactName: "FlyByWire-Installer-${version}-${arch}.${ext}"

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,8 @@
8282
"files": [
8383
"out/**/*"
8484
],
85-
"category": "Utility"
85+
"category": "Utility",
86+
"artifactName": "FlyByWire-Installer-${version}-${arch}.${ext}"
8687
}
8788
},
8889
"devDependencies": {

0 commit comments

Comments
 (0)