Skip to content

Commit 29c5029

Browse files
chore(releases): Remove release finalize --started option (#2972)
### Description This option has already been deprecated. ### Issues - Resolves #2516 - Resolves [CLI-86](https://linear.app/getsentry/issue/CLI-86/remove-releases-finalize-started-option)
1 parent 58399c6 commit 29c5029

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
@@ -16,6 +16,7 @@
1616
- `api_key` configuration file field
1717
- `apiKey` option in the JavaScript API
1818
- 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.
19+
- Removed the `--started` argument from the `sentry-cli releases finalize` command ([#2972](https://github.com/getsentry/sentry-cli/pull/2972)). This argument is a no-op, so any users using it should simply stop using it.
1920

2021
#### Node.js Wrapper Breakages
2122

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)