Note: This release is in preview. Features described here don’t become generally available until the latest general availability date that Salesforce announces for this release. Before then, and where features are noted as beta, pilot, or developer preview, we can’t guarantee general availability within any particular time frame or at all. Make your purchase decisions only on the basis of generally available products and features.
Create a Beta Version of Your App
If, for some reason, you don’t want to include new components, you have two choices. You can omit the package name when you convert source or remove components from the package in the Salesforce UI before you create the package version.
-
Ensure that you’ve authorized the packaging org.
1sf org login web --set-default me@example.com -
Create the beta version of the package.
1sf package1 version create --package-id package_id --name package_version_nameYou can get the package ID on the package detail page in the packaging org. If you want to protect the package with an installation key, add it now or when you create the released version of your package. The --installation-key supplied from the CLI is equivalent to the Password field that you see when working with packages through the Salesforce user interface. When you include a value for --installation-key, you or a subscriber must supply the key before you can install the package in a target org.
Later, when you’re ready to create the Managed - Released version of your package, include the -m (--managed-released true) parameter.