Disable release during build step

So during the build step using nextjs, Sentry attempts to auto deploy a release. Is there a way to turn this off?