Skip to content

CLOUDP-225726: AtlasCLI Release Improvements: build .exe files only once #2682

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Feb 29, 2024

Conversation

jeroenvervaeke
Copy link
Collaborator

@jeroenvervaeke jeroenvervaeke commented Feb 29, 2024

Proposed changes

Deduplicate the windows build by using the prebuilt feature of goreleaser and re-using the build artifacts from the pack_msi step.

Jira ticket: CLOUDP-225726

Testing

Build here and verified on a windows host that the installer is still working properly.

@jeroenvervaeke jeroenvervaeke requested a review from a team February 29, 2024 11:04
Comment on lines 33 to 37
BINARY_NAME="mongocli.exe"
if [[ "${TOOL_NAME:?}" == atlascli ]]; then
BINARY_NAME="atlas.exe"
fi

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[nit] this does not need another if. you can add BINARY_NAME="atlas.exe" inside the previous if. Similarly, you can move BINARY_NAME="mongocli.exe" at line 27

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I noticed too late, pushed a fix

Copy link
Collaborator

@andreaangiolillo andreaangiolillo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Thanks for the changes! 💯

@jeroenvervaeke jeroenvervaeke merged commit 3928fda into master Feb 29, 2024
@jeroenvervaeke jeroenvervaeke deleted the CLOUDP-225726 branch February 29, 2024 13:25
@fmenezes fmenezes mentioned this pull request Apr 5, 2024
6 tasks
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.

2 participants