sincecutoff.com
← all changes

sentry-cli build snapshots adds --selective

Introduced 2026-04-20 · score 0.92

HOW TO USE IT

When the snapshot directory contains only a subset of images, run `sentry-cli build snapshots` with `--selective` to mark the upload as selective. On PRs, removals and renames cannot be detected for selective uploads.

sentry-cli build snapshots <IMAGE_DIRECTORY> --app-id <APP_ID> --project <PROJECT_SLUG> --selective

WHY THIS HELPS

When building a snapshot upload that contains only a subset of images, mark it as selective.

REQUIREMENTS AND LIMITATIONS

  • Version: 3.4.0
  • <IMAGE_DIRECTORY> (required): Path to the folder containing images to upload.
  • --app-id <APP_ID> (required): Application identifier.
  • --project <PROJECT_SLUG> (required): Project selection; the command accepts the shared project argument.
  • --selective: Marks the upload as containing only a subset of images; removals and renames cannot be detected on PRs.
  • Prerequisite: Use sentry-cli 3.4.0 or later.
  • Prerequisite: The command requires an authenticated Sentry CLI session to upload snapshots.
  • Use this flag when the upload contains only a subset of images.

FIRST-PARTY EVIDENCE

Check the installed version and the source before using it. Entry JSON

Report a problem with this card