Skip to content

Commit 81db122

Browse files
chore(releases): Remove release finalize --started option
1 parent bd678cf commit 81db122

File tree

2 files changed

+1
-15
lines changed

2 files changed

+1
-15
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ we should rename this section to "Unreleased" -->
2020
- `api_key` configuration file field
2121
- `apiKey` option in the JavaScript API
2222
- Removed the `upload-proguard` subcommand's `--app-id`, `--version`, `--version-code`, `--android-manifest`, and `--platform` arguments ([#2876](https://github.com/getsentry/sentry-cli/pull/2876), [#2940](https://github.com/getsentry/sentry-cli/pull/2940), [#2948](https://github.com/getsentry/sentry-cli/pull/2948)). Users using these arguments should stop using them, as they are unnecessary. The information passed to these arguments is no longer visible in Sentry.
23+
- Removed the `--started` argument from the `sentry-cli releases finalize` command ([#XXXX](TODO)). This argument is a no-op, so any users using it should simply stop using it.
2324
- In the JS API, the `SentryCli.execute` method's `live` parameter now only takes boolean values ([#2971](https://github.com/getsentry/sentry-cli/pull/2971)). Setting `live` to `true` now behaves like `'rejectOnError'` did previously, with a zero exit status resolving the returned promise with `"success (live mode)"` and a non-zero status rejecting the promise with an error message.
2425
- In the JS API, the `option` parameter to `Releases.uploadSourceMaps` no longer takes a `live` property ([#2971](https://github.com/getsentry/sentry-cli/pull/2971)). We now always execute the command with `live` set to `true`.
2526

src/commands/releases/finalize.rs

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -17,14 +17,6 @@ pub fn make_command(command: Command) -> Command {
1717
.value_name("URL")
1818
.help("Optional URL to the release for information purposes."),
1919
)
20-
.arg(
21-
Arg::new("started")
22-
.long("started")
23-
.hide(true)
24-
.value_parser(get_timestamp)
25-
.value_name("TIMESTAMP")
26-
.help("[DEPRECATED] This value is ignored."),
27-
)
2820
.arg(
2921
Arg::new("released")
3022
.long("released")
@@ -40,13 +32,6 @@ pub fn execute(matches: &ArgMatches) -> Result<()> {
4032
#[expect(clippy::unwrap_used, reason = "legacy code")]
4133
let version = matches.get_one::<String>("version").unwrap();
4234

43-
if matches.get_one::<DateTime<Utc>>("started").is_some() {
44-
log::warn!(
45-
"The --started flag is deprecated. Its value is ignored, \
46-
and the argument will be completely removed in a future version."
47-
);
48-
}
49-
5035
api.authenticated()?.update_release(
5136
&config.get_org(matches)?,
5237
version,

0 commit comments

Comments
 (0)