Skip to content

MONGOCRYPT-899 fix upload-all copy#1156

Open
kevinAlbs wants to merge 4 commits intomongodb:masterfrom
kevinAlbs:fix-upload-all
Open

MONGOCRYPT-899 fix upload-all copy#1156
kevinAlbs wants to merge 4 commits intomongodb:masterfrom
kevinAlbs:fix-upload-all

Conversation

@kevinAlbs
Copy link
Copy Markdown
Collaborator

The upload-all task on the 1.18.0 release failed:

cp: 'libmongocrypt-all-1.18.0.tar.gz' and 'libmongocrypt-all-1.18.0.tar.gz' are the same file

Due to this copy:

if [ -n "${tag_upload_location}" ]; then
   # ...
   cp -a libmongocrypt-all-${tag_upload_location!|*revision}.tar.gz libmongocrypt-all-${tag_upload_location}.tar.gz

${tag_upload_location!|*revision} and ${tag_upload_location} evaluate the same. But since the copy is guarded by a check for a non-empty ${tag_upload_location}, the copy is unnecessary.

I do not plan to immediately release 1.18.1 with this fix. libmongocrypt-all.tar.gz is planned for removal in MONGOCRYPT-894. No drivers appear to get binaries directly from this tarball. But I erred towards making this small fix in case there is a need for a 1.18.1 release.

@kevinAlbs kevinAlbs requested a review from rcsanchez97 May 1, 2026 15:48
@kevinAlbs kevinAlbs changed the title MONGOCRYPT-XXX fix upload-all copy MONGOCRYPT-899 fix upload-all copy May 1, 2026
@kevinAlbs kevinAlbs marked this pull request as ready for review May 1, 2026 15:49
@kevinAlbs kevinAlbs requested a review from a team as a code owner May 1, 2026 15:49
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.

1 participant