Release missing from an issue

I am trying to use Sentry releases in one of my projects, however I am struggling to correctly tag an error (the release tag is missing on new issues).

  1. I have created a release and a deploy by executing the following commands:
sentry-cli --url <url> releases new -p project "$VERSION"
sentry-cli --url <url> releases set-commits --auto "$VERSION"
sentry-cli --url <url> releases finalize "$VERSION"
sentry-cli --url <url> releases deploys "$VERSION" new -e production
  1. Then I configured the node sentry-sdk
  dsn: '',
  release: $VERSION

For some reason all new events are missing the relese tag and I am not sure why. Am i missing something obvious?

BTW: I am using Sentry 9.1.2. The version of the SDK @sentry/node == 5.30.0

@kamilogorek, any ideas? Could this be a bug in 9.1.2 which is quite dated?

Is $RELEASE just example placeholder and you perform string replacement in the Sentry.init call, or how do you configure it?

$VERSION is just a placeholder I used for this question.

I’d assume it’s 9.1.2 issue then. You can bump the SDK to v6, but it shouldn’t make a difference, as setting a release tag was never broken in any SDK version.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.