package version promote

Promote a package version to released.

Supply the ID or alias of the package version you want to promote. Promotes the package version to released status.

force:package:version:promote

Flag Name (Long)Flag Name (Short)Description
‑‑api‑versionN/AType: Value

Override the api version used for api requests made by this command
‑‑flags‑dirN/AType: Value

Import flag values from a directory.
‑‑jsonN/AType: Boolean

Format output as json.
‑‑no‑prompt‑nType: Boolean

Don’t prompt to confirm setting the package version as released.
‑‑package‑pType: Value
Required

ID (starts with 04t) or alias of the package version to promote.
‑‑target‑dev‑hub‑vType: Value
Required

Username or alias of the Dev Hub org. Not required if the target-dev-hub configuration variable is already set.

Promote the package version with the specified ID to released; uses your default Dev Hub org:

Promote the package version with the specified alias to released; uses the Dev Hub org with username devhub@example.com:

Promote the package version with an alias that has spaces to released: