Skip to content
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

Fixes the release build #84

Merged
merged 1 commit into from
May 20, 2024
Merged

Fixes the release build #84

merged 1 commit into from
May 20, 2024

Conversation

TAGraves
Copy link
Member

When we switched this off of nix, we must have misunderstood what the -compile flag does. It builds a static binary of mage, not of your CLI.

For some reason I couldn't get mage build to work. It was trying to execute the version of mage for the platform we were trying to build for (e.g. the windows build was trying to execute mage.exe). This should have been fixed in magefile/mage#202 but it seems like it wasn't. I decided to bypass mage altogether for the sake of expediency.

Tested with this release: https://github.com/rwx-research/mint-cli/releases/tag/untagged-ce7a12e2f5930bf6d86a

@TAGraves TAGraves self-assigned this May 20, 2024
@TAGraves TAGraves merged commit 5ced2af into main May 20, 2024
1 check passed
@TAGraves TAGraves deleted the tg-fix-release branch May 20, 2024 21:44
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.

None yet

2 participants