#How we can create a Sentry Release dynamically

7 messages · Page 1 of 1 (latest)

solid oxide
#

Is there any way we can create an auto increment Release number for ex- 1.0.0 then in next release 1.0.1 using @sentry/nextjs

sage bloom
#

Incrementing based on the latest release is gonna be a bit tricky unless you want to use the Sentry HTTP API. You can pass anything you want to the release.name option in withSentryConfig though.

solid oxide
#

How about this one?

sage bloom
#

That will not auto-increment as you described in your original message.

#

We will try to grab an appropriate release name for you automatically though (git SHA or build number depending on CI environment).

solid oxide
#

How about if we integrate the Github repo directly with Sentry?