Skip to content

CLOUDP-469562: Fix mongocli release goreleaser dirty git state - #144

Merged
danielblanco96 merged 1 commit into
mongodb:mainfrom
fmenezes:CLOUDP-469562-fix-release
Oct 30, 2026
Merged

danielblanco96 merged 1 commit into
mongodb:mainfrom
fmenezes:CLOUDP-469562-fix-release

Conversation

@fmenezes

Copy link
Copy Markdown
Contributor

Ticket

https://jira.mongodb.org/browse/CLOUDP-469562

Description

The release_mongocli_github_package_goreleaser Evergreen task fails on GoReleaser's dirty-git-state check (first hit by the v2.0.10 release, task log): the create-windows-host steps write build/ci/hosts.json and build/ci/ssh_id inside the repo, and goreleaser's distribution cleanup deletes the tracked dist/.keep, leaving three dirty paths when goreleaser validates git state.

Same bug and same fix as AtlasCLI (#3939, #1396): ignore the task-generated files (build/ci/hosts.json, build/ci/ssh_id, sbom.json) and stop tracking dist/.keep (redundant with the existing dist/** ignore; goreleaser creates dist/ itself).

Testing

  • package_goreleaser release task green on the v2.0.10 tag after this merges and the tag is moved to the new main commit

@fmenezes
fmenezes force-pushed the CLOUDP-469562-fix-release branch from 3a128f9 to 898cd31 Compare October 30, 2026 10:57
@fmenezes
fmenezes marked this pull request as ready for review October 30, 2026 10:59
@fmenezes
fmenezes requested a review from a team as a code owner October 30, 2026 10:59
@fmenezes
fmenezes requested review from rzhukovmdb and removed request for a team October 30, 2026 10:59
@danielblanco96
danielblanco96 merged commit ee61e6d into mongodb:main Oct 30, 2026
17 checks passed
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.

3 participants