Release versions, source maps and deploys to sentry instances with curl
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
README.md
sentry-upload-sourcemaps.sh

README.md

sentry-release

This script is meant to be run on a CI server. It only needs curl as external dependency.

Environment

The following variables need to be set exported in the environment or passed to the script. We recommend Vault by HashiCorp to manage your secrets.

  • SENTRY_BASE_URL, usually https://sentry.yourdomain.com
  • SENTRY_TOKEN, needs project:write scope
  • SENTRY_ORGANIZATION
  • SENTRY_PROJECT
  • SENTRY_RELEASE_VERSION
  • SENTRY_REPOSITORY in the form <org>/<project>

Optional parameters

  • PATH_TO_SOURCEMAPS defaults to ./