Skip to content

Commit

Permalink
add architecture strings to AppImage/deb/rpm names
Browse files Browse the repository at this point in the history
  • Loading branch information
theofficialgman committed Jul 8, 2023
1 parent 35aed62 commit 55e1446
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion script/electron-builder-linux.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
artifactName: 'GitHubDesktop-${os}-${version}.${ext}'
artifactName: 'GitHubDesktop-${os}-${arch}-${version}.${ext}'
linux:
category: 'GNOME;GTK;Development'
packageCategory: 'GNOME;GTK;Development'
Expand Down
2 changes: 1 addition & 1 deletion script/package-debian.ts
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ export async function packageDebian(): Promise<string> {

const oldPath = files[0]

const newFileName = `GitHubDesktop-linux-${getVersion()}.deb`
const newFileName = `GitHubDesktop-linux-${getArchitecture()}-${getVersion()}.deb`
const newPath = join(distRoot, newFileName)
await rename(oldPath, newPath)

Expand Down
2 changes: 1 addition & 1 deletion script/package-redhat.ts
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ export async function packageRedhat(): Promise<string> {

const oldPath = files[0]

const newFileName = `GitHubDesktop-linux-${getVersion()}.rpm`
const newFileName = `GitHubDesktop-linux-${getArchitecture()}-${getVersion()}.rpm`
const newPath = join(distRoot, newFileName)
await rename(oldPath, newPath)

Expand Down

0 comments on commit 55e1446

Please sign in to comment.