Script for uploading source maps and source code

Does anyone know of a convenient way to upload the source and maps to sentry? From the documentation, I need to upload all the files, which means I need to build a script that uploads dozens of files.

I’m asking - is there an existing script I can use? can this be zipped and uploaded in a single call? What are my alternatives?

Does anyone know of a convenient way to upload the source and maps to sentry?

Yes: sentry-cli

From the documentation, I need to upload all the files, which means I need to build a script that uploads dozens of files.

You do not need to upload all your source files if you inline your sourcesContent into your source map, which is our recommendation.

See “generating a source map”:

All of the example configurations above inline your original, un-transformed source files into the generated source map file. Sentry requires both source map(s) and your original source files in order to perform reverse transformations. If you choose NOT to inline your source files, you must make those source files available to Sentry in addition to your source maps (see below).