From c3407a202d4dc1599b2cb90a7ff3d56e8e32309e Mon Sep 17 00:00:00 2001 From: Zeke Gabrielse Date: Thu, 7 Jul 2022 16:20:56 -0500 Subject: [PATCH] fix: add product scope to keygen publisher (#6990) --- .changeset/thirty-numbers-lick.md | 5 +++++ packages/app-builder-lib/src/publish/KeygenPublisher.ts | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 .changeset/thirty-numbers-lick.md diff --git a/.changeset/thirty-numbers-lick.md b/.changeset/thirty-numbers-lick.md new file mode 100644 index 00000000000..89a77ce8137 --- /dev/null +++ b/.changeset/thirty-numbers-lick.md @@ -0,0 +1,5 @@ +--- +"app-builder-lib": patch +--- + +Fix release conflicts for Keygen publisher when releases share the same version across open/licensed products. diff --git a/packages/app-builder-lib/src/publish/KeygenPublisher.ts b/packages/app-builder-lib/src/publish/KeygenPublisher.ts index 3b07220cf14..6061e775a78 100644 --- a/packages/app-builder-lib/src/publish/KeygenPublisher.ts +++ b/packages/app-builder-lib/src/publish/KeygenPublisher.ts @@ -206,7 +206,7 @@ export class KeygenPublisher extends HttpPublisher { private async getRelease(): Promise<{ data?: KeygenRelease; errors?: KeygenError[] }> { const req: RequestOptions = { hostname: this.hostname, - path: `${this.basePath}/releases/${this.version}`, + path: `${this.basePath}/releases/${this.version}?product=${this.info.product}`, headers: { Accept: "application/vnd.api+json", "Keygen-Version": "1.1",