Skip to content

Commit 01d29ad

Browse files
authored
feat(action-release): Bump action-release to v3 (#12892)
1 parent ebc991a commit 01d29ad

File tree

1 file changed

+3
-5
lines changed
  • docs/product/releases/setup/release-automation/github-actions

1 file changed

+3
-5
lines changed

docs/product/releases/setup/release-automation/github-actions/index.mdx

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ You can create a new Sentry release by setting the `version` option. By default,
4040
fetch-depth: 0
4141

4242
- name: Create Sentry release
43-
uses: getsentry/action-release@v1
43+
uses: getsentry/action-release@v3
4444
env:
4545
SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }}
4646
SENTRY_ORG: ${{ secrets.SENTRY_ORG }}
@@ -55,8 +55,7 @@ You can create a new Sentry release by setting the `version` option. By default,
5555
If your application is written in JavaScript you probably deploy minified application code. To enable readable
5656
stack traces in your Sentry errors, you need to upload source maps to Sentry.
5757
58-
Provide the path(s) to your source maps via the `sourcemaps` option and set the `inject` flag to allow the GitHub
59-
action to inject information into your source files and source maps to ensure proper un-minification of your stack traces.
58+
Provide the path(s) to your source maps via the `sourcemaps` option to ensure proper un-minification of your stack traces.
6059
Visit [What are Artifact Bundles](/platforms/javascript/sourcemaps/troubleshooting_js/artifact-bundles/) if you want to learn more.
6160

6261
```yml
@@ -65,14 +64,13 @@ Visit [What are Artifact Bundles](/platforms/javascript/sourcemaps/troubleshooti
6564
fetch-depth: 0
6665
6766
- name: Create Sentry release
68-
uses: getsentry/action-release@v1
67+
uses: getsentry/action-release@v3
6968
env:
7069
SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }}
7170
SENTRY_ORG: ${{ secrets.SENTRY_ORG }}
7271
SENTRY_PROJECT: ${{ secrets.SENTRY_PROJECT }}
7372
with:
7473
environment: production
75-
inject: true
7674
sourcemaps: './dist'
7775
```
7876

0 commit comments

Comments
 (0)