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

Add release pipeline for Runtime #453

Merged

Conversation

kevinmingtarja
Copy link
Member

@kevinmingtarja kevinmingtarja commented Oct 11, 2024

Description

This PR adds a release pipeline for the Modus Runtime using GoReleaser. This pipeline runs automatically on every new tag with the pattern 'runtime/v*'.

This pipeline generates the Go binary for six targets: {linux,darwin,windows}-{amd64,arm64}. Each binary is then archived together with the README and LICENSE files into a tar.gz (zip for windows) file.

GoReleaser will then create a GitHub release with the current tag, upload all the artifacts and optionally generate the changelog based on the new commits since the previous tag. We can explore automatic changelog generation at a later time.

Signing and notarizing binaries are out of the scope of this PR, and will be explored separately. The side-effect of this is for macOS at least, the first time someone downloads it and try to execute the binary, they will be prompted with a message saying "modus_runtime cannot be opened because the developer cannot be verified".

@kevinmingtarja kevinmingtarja requested a review from a team as a code owner October 11, 2024 05:22
@mattjohnsonpint mattjohnsonpint merged commit 4a47cb7 into main Oct 11, 2024
80 checks passed
@mattjohnsonpint mattjohnsonpint deleted the kevinm/hyp-2299-create-official-builds-for-the-runtime branch October 11, 2024 14:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants