Skip to content

Commit

Permalink
fix: add product scope to keygen publisher (#6990)
Browse files Browse the repository at this point in the history
  • Loading branch information
ezekg authored Jul 7, 2022
1 parent 7ad5101 commit c3407a2
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/thirty-numbers-lick.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"app-builder-lib": patch
---

Fix release conflicts for Keygen publisher when releases share the same version across open/licensed products.
2 changes: 1 addition & 1 deletion packages/app-builder-lib/src/publish/KeygenPublisher.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit c3407a2

Please sign in to comment.