From af44d01e2641bd82acc2c45f9b9ac8cb887a6577 Mon Sep 17 00:00:00 2001 From: Jonas Kruckenberg Date: Mon, 9 May 2022 14:50:30 +0200 Subject: [PATCH] fix: ignore linuxdeploy --- .changes/fix-ignore-linxdeploy.md | 5 +++++ src/build-project.ts | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 .changes/fix-ignore-linxdeploy.md diff --git a/.changes/fix-ignore-linxdeploy.md b/.changes/fix-ignore-linxdeploy.md new file mode 100644 index 0000000..801b206 --- /dev/null +++ b/.changes/fix-ignore-linxdeploy.md @@ -0,0 +1,5 @@ +--- +"tauri-build": patch +--- + +Ignore the linuxdelpoy.AppImage artifact \ No newline at end of file diff --git a/src/build-project.ts b/src/build-project.ts index 03a9f54..609ddd0 100644 --- a/src/build-project.ts +++ b/src/build-project.ts @@ -62,7 +62,7 @@ export async function buildProject(options: BuildOptions): Promise { ] const windowsExts = ['msi', 'msi.zip', 'msi.zip.sig'] - const artifactsLookupPattern = `${bundleDir}/*/*.{${[...macOSExts, linuxExts, windowsExts].join(',')}}` + const artifactsLookupPattern = `${bundleDir}/*/!(linuxdeploy)*.{${[...macOSExts, linuxExts, windowsExts].join(',')}}` core.debug(`Looking for artifacts using this pattern: ${artifactsLookupPattern}`)