Skip to content

fix(deploys): Honor --project in deploys new subcommand#2160

Merged
szokeasaurusrex merged 1 commit intomasterfrom
szokeasaurusrex/deploy-fix
Sep 20, 2024
Merged

fix(deploys): Honor --project in deploys new subcommand#2160
szokeasaurusrex merged 1 commit intomasterfrom
szokeasaurusrex/deploy-fix

Conversation

@szokeasaurusrex
Copy link
Member

Previously, we ignored the --project arguments passed to the sentry-cli deploys new command. Regardless of whether any --project was provided, the deploy was created for all projects associated with the given release.

Now, we respect the --project argument. If provided, we only create the deploy for the project(s) specified. If omitted, the deploy is created for all projects associated with the release, as previously.

Fixes #2156

Previously, we ignored the `--project` arguments passed to the `sentry-cli deploys new` command. Regardless of whether any `--project` was provided, the deploy was created for all projects associated with the given release.

Now, we respect the `--project` argument. If provided, we only create the deploy for the project(s) specified. If omitted, the deploy is created for all projects associated with the release, as previously.

Fixes #2156
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Environments leaking across projects

2 participants