Skip to content

Commit

Permalink
feat: adds support for package version
Browse files Browse the repository at this point in the history
  • Loading branch information
tshopshireSalesforce committed Jan 15, 2025
1 parent d9baf57 commit 8f30350
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions src/interfaces/packagingInterfacesAndType.ts
Original file line number Diff line number Diff line change
Expand Up @@ -528,6 +528,8 @@ export type PackagePushRequestReportResult = {
};
MetadataPackageId: string;
Name: string;
MajorVersion: string;
MinorVersion: string;
};
Id: string;
PackageVersionId: string;
Expand Down
2 changes: 1 addition & 1 deletion src/package/packagePushUpgrade.ts
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,7 @@ function constructWhereReport(options: PackagePushRequestReportQueryOptions): st

function getReportQuery(): string {
const QUERY =
'SELECT PackageVersion.MetadataPackage.Name, PackageVersion.MetadataPackage.NamespacePrefix, PackageVersion.MetadataPackageId, PackageVersionId, PackageVersion.Name, Id, Status, ScheduledStartTime, StartTime, EndTime, DurationSeconds FROM PackagePushRequest ' +
'SELECT PackageVersion.MetadataPackage.Name, PackageVersion.MajorVersion, PackageVersion.MinorVersion, PackageVersion.MetadataPackage.NamespacePrefix, PackageVersion.MetadataPackageId, PackageVersionId, PackageVersion.Name, Id, Status, ScheduledStartTime, StartTime, EndTime, DurationSeconds FROM PackagePushRequest ' +
'%s'; // WHERE, if applicable
return QUERY;
}
Expand Down

0 comments on commit 8f30350

Please sign in to comment.