Repository navigation
CLOUDP-469562: Fix mongocli release goreleaser dirty git state - #144
Merged
Merged
Conversation
fmenezes
force-pushed
the
CLOUDP-469562-fix-release
branch
from
October 30, 2026 10:57
3a128f9 to
898cd31
Compare
fmenezes
marked this pull request as ready for review
October 30, 2026 10:59
prakhardhama
approved these changes
Oct 30, 2026
danielblanco96
approved these changes
Oct 30, 2026
1 task
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Ticket
https://jira.mongodb.org/browse/CLOUDP-469562
Description
The
release_mongocli_github_package_goreleaserEvergreen task fails on GoReleaser's dirty-git-state check (first hit by thev2.0.10release, task log): thecreate-windows-hoststeps writebuild/ci/hosts.jsonandbuild/ci/ssh_idinside the repo, and goreleaser's distribution cleanup deletes the trackeddist/.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 trackingdist/.keep(redundant with the existingdist/**ignore; goreleaser createsdist/itself).Testing
package_goreleaserrelease task green on thev2.0.10tag after this merges and the tag is moved to the new main commit