Skip to content

Commit

Permalink
Add inject example to README
Browse files Browse the repository at this point in the history
  • Loading branch information
andreiborza committed Jan 14, 2025
1 parent e617c21 commit aab1c91
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -100,13 +100,14 @@ Adding the following to your workflow will create a new Sentry release and tell

### Examples

- Create a new Sentry release for the `production` environment and upload JavaScript source maps from the `./lib` directory.
- Create a new Sentry release for the `production` environment, inject Debug IDs into JavaScript source files and sourcemaps and upload them from the `./dist` directory.

```yaml
- uses: getsentry/action-release@v1
with:
environment: 'production'
sourcemaps: './lib'
inject: true
sourcemaps: './dist'
```

- Create a new Sentry release for the `production` environment of your project at version `v1.0.1`.
Expand Down
1 change: 0 additions & 1 deletion docs/publishing-a-release.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ The [build.yml](../.github/workflows/build.yml) workflow will build a Docker ima
> [!WARNING]
> Merging pull requests into `master` means changes are live for anyone who uses the action regardless of bumping the version.
> Be extremely careful and intentional with changes and ensure properly testing them before merging, see [#Testing](development.md#testing) for more info.
effectively being live for everyone even if we do not bump the version.
> [!NOTE]
> Unfortunately, we only use the `latest` tag for the Docker image, thus, making use of a version with the action ineffective (e.g. `v1` vs `v1.3.0`).
Expand Down

0 comments on commit aab1c91

Please # to comment.