Skip to content

Commit c3407a2

Browse files
authored
fix: add product scope to keygen publisher (#6990)
1 parent 7ad5101 commit c3407a2

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

.changeset/thirty-numbers-lick.md

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"app-builder-lib": patch
3+
---
4+
5+
Fix release conflicts for Keygen publisher when releases share the same version across open/licensed products.

packages/app-builder-lib/src/publish/KeygenPublisher.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@ export class KeygenPublisher extends HttpPublisher {
206206
private async getRelease(): Promise<{ data?: KeygenRelease; errors?: KeygenError[] }> {
207207
const req: RequestOptions = {
208208
hostname: this.hostname,
209-
path: `${this.basePath}/releases/${this.version}`,
209+
path: `${this.basePath}/releases/${this.version}?product=${this.info.product}`,
210210
headers: {
211211
Accept: "application/vnd.api+json",
212212
"Keygen-Version": "1.1",

0 commit comments

Comments
 (0)