How do I populate the Description under Setup->Installed Packages for packages?
The documentation, isn't very clear since it could be construed as applying only to managed 2GPs, but you can define the package versionDescription
in your unlocked package's sfdx-project.json
, like this:
{
"sfdcLoginUrl": "https://login.salesforce.com",
"sourceApiVersion": "56.0",
"packageDirectories": [
{
"path": "force-app",
"default": true,
"package": "My Package Name",
"versionNumber": "1.0.0.NEXT",
"versionDescription": "My package version description",
"definitionFile": "config/project-scratch-def.json",
"dependencies": [
{
...
}
]
}
],
...
}
If you already created a version without a description, you can add it by using the sfdx force:package:version:update
(or beta equivalent) command, using the sfdx-project.json
or -e
CLI value.
Where do I see the description I add to the each package version using the -e flag?
You can see these descriptions by running the sfdx force:package:list
on your CLI. You also see the package description in the Installed Packages list on your target org.
What is the difference between -e (VERSIONDESCRIPTION) and -t (TAG ) flags?
As to the CLI override options -e
(for overriding the versionDescription) and -t
(for setting the tag), I can't answer that since I'm not sure what the version tag is - it doesn't seem to be the alias or name (though it could be one of these).
I'm guessing this is intended to allow you to express the git tag related to this package version.