I'm trying out the @sentry/nuxt module and noticed that the sourcemaps are uploaded with a version set to whatever the git HEAD commit is at. I'd like to be able to set the version to something more representative, preferably the same version as we set in the Sentry.init call.
Problem Statement
I'm trying out the
@sentry/nuxt
module and noticed that the sourcemaps are uploaded with a version set to whatever the gitHEAD
commit is at. I'd like to be able to set the version to something more representative, preferably the same version as we set in theSentry.init
call.Solution Brainstorm
I've now set it using: