@salesforce/packaging 4.4.0 → 4.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -15,4 +15,5 @@ export declare function createPackageVersionCreateRequest(context: {
|
|
|
15
15
|
definitionfile?: string;
|
|
16
16
|
buildinstance?: string;
|
|
17
17
|
seedmetadata?: string;
|
|
18
|
+
patchversion?: string;
|
|
18
19
|
}, packageId: string, apiVersion: string): Promise<PackagingSObjects.Package2VersionCreateRequest>;
|
|
@@ -111,6 +111,7 @@ async function convertPackage(pkg, connection, options, project) {
|
|
|
111
111
|
definitionfile: options.definitionfile,
|
|
112
112
|
buildinstance: options.buildInstance,
|
|
113
113
|
seedmetadata: options.seedMetadata,
|
|
114
|
+
patchversion: options.patchversion,
|
|
114
115
|
}, packageId,
|
|
115
116
|
// TODO: createPackageVersionCreateRequest requires apiVersion exist.
|
|
116
117
|
// UT fail if we validate that it exists (there might not even be a project)
|
|
@@ -151,6 +152,7 @@ async function createPackageVersionCreateRequest(context, packageId, apiVersion)
|
|
|
151
152
|
const packageVersBlobZipFile = node_path_1.default.join(packageVersTmpRoot, 'package-version-info.zip');
|
|
152
153
|
let packageDescriptorJson = {
|
|
153
154
|
id: packageId,
|
|
155
|
+
versionNumber: context.patchversion,
|
|
154
156
|
};
|
|
155
157
|
const settingsGenerator = new core_1.ScratchOrgSettingsGenerator({ asDirectory: true });
|
|
156
158
|
const definitionFile = context.definitionfile;
|
|
@@ -46,6 +46,10 @@ You cannot use 'settings' and 'orgPreferences' in your scratch definition file,
|
|
|
46
46
|
|
|
47
47
|
There was an error while reading or parsing the provided scratch definition file: %s
|
|
48
48
|
|
|
49
|
+
# invalidPatchVersionSpecified
|
|
50
|
+
|
|
51
|
+
Requested patch version number %s to convert is invalid
|
|
52
|
+
|
|
49
53
|
# seedMDDirectoryDoesNotExist
|
|
50
54
|
|
|
51
55
|
Seed metadata directory %s was specified but does not exist.
|