Skip to content

Migrate to getsentry/cli #5580

Description

@jamescrosswell

Description

https://github.com/getsentry/sentry-cli will be deprecated in favor of https://github.com/getsentry/cli

The new CLI (version 4.0) and is meant as drop-in replacement, however this needs to be checked and there are some migration steps to be aware of.

sentry-dotnet downloads one hash-pinned binary for the build host.

  • debug-files upload, debug-files bundle-sources, and info --no-defaults exist.
  • upload-proguard is now proguard upload.
  • releases new is now release create.
  • releases set-commits is now release set-commits; core modes such as --auto, --local, --clear, --commit, and --initial-depth exist.
  • The new CLI has no command-line --auth-token or --url flags; it expects SENTRY_AUTH_TOKEN and SENTRY_URL. The MSBuild target currently passes both as CLI arguments.

Risk: medium. MSBuild commands and credential handling must change. New CLI platform coverage must also match the .NET targets.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    .NETPull requests that update .net code

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions