Newer Version Available
Release an Unlocked Package
Each new package version is marked as beta when its created. As you develop your
package, you may create several package versions before you create a version that is ready
to be released and installed in production orgs.
Before you promote the package version, ensure that the user permission, Promote a package version to released, is enabled in the Dev Hub org associated with the package. Consider creating a permission set with this user permission, and then assign the permission set to the appropriate user profiles.
When you’re ready to release, use force:package:version:promote.
If the command is successful, a confirmation message appears.
After the update succeeds, view the package details.
Confirm that the value of the Released property is true.
You can promote and release only once for each package version number, and you can’t undo this change.