Artifacts

Manage artifacts through sfp server

sfp server artifacts promote

Promote unlocked packages with metadata publishing to SFP Server (experimental)

USAGE
  $ sfp server artifacts promote -v <value> -d <value> [--json] [--repository <value>] [-e <value>] [-t <value>]
    [--sfp-server-url <value>] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]

FLAGS
  -d, --artifactdir=<value>           (required) [default: artifacts] The directory where artifacts are located
  -e, --email=<value>                 [env: SFP_SERVER_USER] Email address for authenticated user. Ignored if
                                      --application-token is provided.
  -t, --application-token=<value>     [env: SFP_SERVER_TOKEN] Application token for CI/CD authentication. Takes
                                      precedence over --email.
  -v, --targetdevhubusername=<value>  (required) Username or alias of the Dev Hub org.
      --loglevel=<option>             [default: info] logging level for this command invocation
                                      <options: trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL>
      --repository=<value>            The repository identifier. E.g `owner/repo`
      --sfp-server-url=<value>        [env: SFP_SERVER_URL] URL of the SFP server. Can be set via environment variable
                                      `SFP_SERVER_URL` or config: sfp config:set server-url

GLOBAL FLAGS
  --json  Format output as json.

DESCRIPTION
  Promote unlocked packages with metadata publishing to SFP Server (experimental)

EXAMPLES
  $ sfp server artifacts promote -d path/to/artifacts -v <org> --email [email protected]

  $ sfp server artifacts promote -d path/to/artifacts -v <org> --application-token myToken

See code: src/commands/server/artifacts/promote.tsarrow-up-right

sfp server artifacts publish

Publish artifacts to npm registry with enhanced CI/CD support (experimental)

See code: src/commands/server/artifacts/publish.tsarrow-up-right

Last updated

Was this helpful?