Skip to content
This repository was archived by the owner on Nov 20, 2023. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -88,10 +88,10 @@ entries | `array`/`RegExp`/`function(key: string): bool` | optional | a filter f

| Option | Type | Required | Description |
---------|------|----------|-------------
| repo | `string` | required | the full git repo name as defined in Sentry |
| commit | `string` | optional/required | the current (last) commit in the release |
| repo | `string` | optional/required | the full git repo name as defined in Sentry. Required if `auto` option is not `true`. |
| commit | `string` | optional/required | the current (last) commit in the release. Required if `auto` option is not `true`. |
| previousCommit | `string` | optional | the commit before the beginning of this release (in other words, the last commit of the previous release). If omitted, this will default to the last commit of the previous release in Sentry. If there was no previous release, the last 10 commits will be used |
| auto | `boolean` | optional/required | automatically choose the associated commit (uses the current commit). Overrides other options |
| auto | `boolean` | optional | automatically choose the associated commit (uses the current commit). Overrides other options |

#### <a name="deploy"></a>options.deploy:

Expand Down
4 changes: 3 additions & 1 deletion index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -120,11 +120,13 @@ export interface SentryCliPluginOptions {
setCommits?: {
/**
* The full repo name as defined in Sentry.
* Required if auto option is not true.
*/
repo: string;
repo?: string;

/**
* The current (last) commit in the release.
* Required if auto option is not true.
*/
commit?: string;

Expand Down