Skip to content

Commit

Permalink
Guranatee arm64 name
Browse files Browse the repository at this point in the history
Signed-off-by: Kawika Avilla <[email protected]>
  • Loading branch information
kavilla committed Feb 24, 2022
1 parent ea27703 commit 8694ce0
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/dev/build/tasks/os_packages/run_fpm.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,9 @@ export async function runFpm(
) {
const linux = config.getPlatform('linux', arch);
const version = config.getBuildVersion();
const fileName = config.resolveFromTarget(
arch === 'arm64' ? `NAME-${version}-arm64.${type}` : `NAME-${version}-ARCH.TYPE`
);

const resolveWithTrailingSlash = (...paths: string[]) => `${resolve(...paths)}/`;

Expand All @@ -62,7 +65,7 @@ export async function runFpm(
// the filtered package version, which would have dashes replaced with
// underscores
'--package',
config.resolveFromTarget(`NAME-${version}-ARCH.TYPE`),
fileName,

// input type
'-s',
Expand Down

0 comments on commit 8694ce0

Please sign in to comment.