Skip to content

Commit aa688f2

Browse files
runningcodeclaude
andcommitted
test: Update help snapshots and add changelog entry
- Update build upload help test snapshots to include new --git-metadata and --no-git-metadata flags - Add changelog entry for the new feature 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <[email protected]>
1 parent 9f51ae7 commit aa688f2

File tree

3 files changed

+23
-0
lines changed

3 files changed

+23
-0
lines changed

CHANGELOG.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,14 @@
11
# Changelog
22

3+
## Unreleased
4+
5+
### Features
6+
7+
- Add `--git-metadata` flag with CI auto-detection to `sentry-cli build upload` command ([#2974](https://github.com/getsentry/sentry-cli/pull/2974))
8+
- Git metadata is now automatically collected only when running in CI environments (GitHub Actions, GitLab CI, Jenkins, etc.)
9+
- Local development builds no longer trigger GitHub status checks by default
10+
- Users can force enable with `--git-metadata` or disable with `--no-git-metadata`/`--git-metadata=false`
11+
312
## 2.58.2
413

514
### Improvements

tests/integration/_cases/build/build-upload-help-macos.trycmd

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,13 @@ Options:
5353
be used.
5454
--release-notes <release_notes>
5555
The release notes to use for the upload.
56+
--git-metadata [<git_metadata>]
57+
Controls whether to collect and send git metadata (branch, commit, etc.). Use
58+
--git-metadata to force enable, --git-metadata=false or --no-git-metadata to force
59+
disable. If not specified, git metadata is automatically collected only when running in a
60+
CI environment. [possible values: true, false]
61+
--no-git-metadata
62+
Disable collection of git metadata. Equivalent to --git-metadata=false.
5663
-h, --help
5764
Print help
5865

tests/integration/_cases/build/build-upload-help-not-macos.trycmd

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,13 @@ Options:
5252
be used.
5353
--release-notes <release_notes>
5454
The release notes to use for the upload.
55+
--git-metadata [<git_metadata>]
56+
Controls whether to collect and send git metadata (branch, commit, etc.). Use
57+
--git-metadata to force enable, --git-metadata=false or --no-git-metadata to force
58+
disable. If not specified, git metadata is automatically collected only when running in a
59+
CI environment. [possible values: true, false]
60+
--no-git-metadata
61+
Disable collection of git metadata. Equivalent to --git-metadata=false.
5562
-h, --help
5663
Print help
5764

0 commit comments

Comments
 (0)