From 277341000a87abaa65a7985854c06e88ed5938b9 Mon Sep 17 00:00:00 2001 From: Mario Vitale Date: Fri, 12 Jan 2024 19:01:44 +0100 Subject: [PATCH] fix(linux): Use ~ as pre-release separator for deb targets (#7978) --- .changeset/stupid-bears-hammer.md | 5 +++++ packages/app-builder-lib/src/targets/LinuxTargetHelper.ts | 1 + 2 files changed, 6 insertions(+) create mode 100644 .changeset/stupid-bears-hammer.md diff --git a/.changeset/stupid-bears-hammer.md b/.changeset/stupid-bears-hammer.md new file mode 100644 index 00000000000..2493af1f1bd --- /dev/null +++ b/.changeset/stupid-bears-hammer.md @@ -0,0 +1,5 @@ +--- +"app-builder-lib": patch +--- + +Use ~ as pre-release separator for deb targets diff --git a/packages/app-builder-lib/src/targets/LinuxTargetHelper.ts b/packages/app-builder-lib/src/targets/LinuxTargetHelper.ts index b4249e72fcc..699919261ef 100644 --- a/packages/app-builder-lib/src/targets/LinuxTargetHelper.ts +++ b/packages/app-builder-lib/src/targets/LinuxTargetHelper.ts @@ -84,6 +84,7 @@ export class LinuxTargetHelper { case "pacman": return version.replace(/-/g, "_") case "rpm": + case "deb": return version.replace(/-/g, "~") default: return version