-
-
Notifications
You must be signed in to change notification settings - Fork 220
Add Auto Release Detection #800
base: master
Are you sure you want to change the base?
Changes from 4 commits
84562b1
3105fdb
944bd20
d44aa95
e4bb06b
b74778c
4060e94
38feb8d
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -159,6 +159,10 @@ For example, in a web app, this might be the route name. | |
| This value can be the git SHA for the given project, or a product identifier | ||
| with a semantic version (suggested format `[email protected]`). | ||
|
|
||
| It is suggested to attempt to automatically detect the release environment, | ||
| and set it automatically for the user. | ||
| Further inforomation about platform specific attempts here. | ||
|
|
||
| ```json | ||
| { | ||
| "release": "[email protected]" | ||
|
|
||
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
| @@ -0,0 +1,45 @@ | ||||||
| --- | ||||||
| title: Detect Release Automatically | ||||||
| --- | ||||||
|
|
||||||
| <Alert title="Note on --- " level="info"> | ||||||
| Should we call special attention to something to encourage best practices and prevent and bad DX? | ||||||
| </Alert> | ||||||
|
|
||||||
|
|
||||||
| ## Release | ||||||
|
|
||||||
|
|
||||||
| ```json | ||||||
| { | ||||||
| "release": "[email protected]" | ||||||
| } | ||||||
| ``` | ||||||
|
|
||||||
| ```json | ||||||
| { | ||||||
| "release": "721e41770371db95eee98ca2707686226b993eda" | ||||||
| } | ||||||
| ``` | ||||||
|
|
||||||
| ## SDK Examples | ||||||
|
|
||||||
| | Source | Description | <div style="width:220px">Examples</div> | | ||||||
| | ------------- | ------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------- | | ||||||
| | Python SDK | -SENTRY_RELEASE env variable <br /> - Output of git rev-parse HEAD | | | ||||||
| | Rust SDK | | | | ||||||
| | Browser SDK | | | | ||||||
| | Node SDK | | | | ||||||
| | Dart/Flutter | | | | ||||||
|
||||||
| | Dart/Flutter | | | | |
| | Flutter | | | |
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Java will be different than Android
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
https://www.notion.so/sentry/PR-Dev-Auto-release-setting-techniques-a0da5ba23058406ca56be5fe3524d4c4
yep you are right they are separated in the second column here, should just give them both a row, and make android (Java) or something
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| | Cocoa/Apple | | | | |
| | Apple | | | |
Uh oh!
There was an error while loading. Please reload this page.