Skip to content

Commit 97500dd

Browse files
authored
Merge pull request #5361 from Shopify/store-source-reference-in-app-management
Include source control URL in version metadata
2 parents ed0f1ed + ba6c68b commit 97500dd

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

packages/app/src/cli/utilities/developer-platform-client/app-management-client.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -575,6 +575,7 @@ export class AppManagementClient implements DeveloperPlatformClient {
575575
organizationId,
576576
versionTag,
577577
message,
578+
commitReference,
578579
bundleUrl,
579580
skipPublish: noRelease,
580581
}: AppDeployOptions): Promise<AppDeploySchema> {
@@ -602,7 +603,7 @@ export class AppManagementClient implements DeveloperPlatformClient {
602603
}
603604
}),
604605
},
605-
metadata: {versionTag, message},
606+
metadata: {versionTag, message, sourceControlUrl: commitReference},
606607
}
607608

608609
const result = await appManagementRequestDoc(organizationId, CreateAppVersion, await this.token(), variables)

0 commit comments

Comments
 (0)