Repository navigation
CLOUDP-453193: Migrate to vX.Y.Z tags: centralize version logic, release process and GoReleaser OSS - #142
Merged
danielblanco96 merged 6 commits intoOct 29, 2026
Conversation
Port the atlas-cli git-version.sh single source of truth (CLOUDP-453179 / build/package/git-version.sh, which accepts both the legacy mongocli/vX.Y.Z tags and the new bare vX.Y.Z tags (newest wins, other tools' tags excluded).
fmenezes
force-pushed
the
CLOUDP-453193-git-version-script
branch
from
October 28, 2026 10:46
5f98e78 to
2b35a76
Compare
2 tasks done
…g_prefix Drop the goreleaser monorepo tag_prefix so bare vX.Y.Z tags drive releases (twin of CLOUDP-453185 / #4837), switch scripts/release.sh to the vX.Y.Z tag format and update RELEASING.md. No git_tag_aliases change needed: this project defines none, so git_tag_only variants trigger on any tag.
… key Twin of CLOUDP-453186 / #4838: download the OSS goreleaser release (v2.18.2, with retries as fixed in CLOUDP-456003) instead of the Pro tarball, drop the goreleaser_key expansion and GORELEASER_KEY export, bump the config to version: 2 (--clean instead of the removed --rm-dist, drop the removed rlcp field). The remaining v2 error (prebuilt builder) is removed by PR mongodb#140, which must merge first.
…i to git-version.sh and clean deprecated config
danielblanco96
approved these changes
Oct 29, 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.
Proposed changes
Jira ticket: https://jira.mongodb.org/browse/CLOUDP-453193
1. Centralize git tag version logic
New
build/package/git-version.shas the single source of truth for deriving the version from git tags, accepting both the legacymongocli/vX.Y.Ztags and the new barevX.Y.Zformat (newest matching tag wins; other tools' tags, e.g. pre-splitatlascli/vX.Y.Z, are excluded). Consumers switched (previously each inlinedgit tag --list "mongocli/v*" …):Makefile,package.sh,rename-pkg.sh,send-slack-notification.sh,generate-download-archive-manifest.sh,docker/docker-build.sh.2. Release process for
vX.Y.Ztagsmonorepo.tag_prefix: mongocli/so barevX.Y.Ztags drive releasesscripts/release.sh+RELEASING.mdswitch to thevX.Y.Ztag formatgit_tag_aliaseschange needed: the project defines none, sogit_tag_onlyvariants trigger on any tag3. GoReleaser Pro → OSS
goreleaser_keyexpansion andGORELEASER_KEYexport.goreleaser.ymltoversion: 2:--cleanreplaces the removed--rm-dist,rlcpdroppedTesting
shellcheckclean on all new/changed scripts; YAML parsesgit-version.sh/tag/describeverified against real repo tags (2.0.9,mongocli/v2.0.9,2.0.9-6-g45fc69d21); synthetic annotated-tag repo proves newerv2.1.0wins over oldermongocli/v2.0.0andatlascli/*never matchesgoreleaser check(v2.19) passes with only the same deprecation warnings atlas-cli's production config carries; the only v2 error left in this branch (prebuiltbuilder — Pro-only in v2) is removed by CLOUDP-453199: Migrate windows generation into evergreen's host.create #140