2020-07-14 12:20:52 -07:00
2020-07-14 12:20:52 -07:00
2020-06-17 10:53:56 -07:00
2020-06-17 15:04:20 -07:00
2020-07-09 11:14:18 -07:00
2020-06-17 10:53:56 -07:00
2020-06-17 10:53:56 -07:00
2020-07-14 12:20:52 -07:00
2020-07-14 10:24:45 -07:00
2020-07-09 11:14:18 -07:00
2020-06-17 10:53:56 -07:00
2020-07-14 12:22:58 -07:00
2020-07-14 13:11:42 -07:00
2020-06-17 10:53:56 -07:00
2020-07-01 14:19:22 -07:00

Sentry Release GitHub Action

Automatically create a Sentry Release in a workflow.

Why Releases?

A release is a version of your code that is deployed to an environment. When you give Sentry information about your releases, you unlock a number of new features:

  • Determine the issues and regressions introduced in a new release
  • Predict which commit caused an issue and who is likely responsible
  • Resolve issues by including the issue number in your commit message
  • Receive email notifications when your code gets deployed

Additionally, releases are used for applying source maps to minified JavaScript to view original, untransformed source code.

Usage

Adding the following to your workflow will create a new Sentry release for the production environment of your project and upload JavaScript source maps from the ./lib directory.

uses: getsentry/action-release@v1
with:
  environment: 'production'
  sourcemaps: './lib'

Don’t forget to include the following environment variables:

env:
  SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }}
  SENTRY_ORG: ${{ secrets.SENTRY_ORG }}
  SENTRY_PROJECT: ${{ secrets.SENTRY_PROJECT }}

See action.yml for more workflow options.

Troubleshooting

Building and running this action locally on an unsupported environment yields an error that looks like:

Syntax error: end of file unexpected (expecting ")")

Suggestions and issues can be posted on the repository's issues page.

Contributing

See the Contributing Guide.

License

See the License File.

S
Description
No description provided
Readme Apache-2.0
15 MiB
Languages
TypeScript 49.9%
Python 44.4%
Shell 2.6%
Dockerfile 2.4%
JavaScript 0.5%
Other 0.2%