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

ci: Add GoReleaser Support for macOS and Linux #284

Merged
merged 3 commits into from
Dec 19, 2024
Merged

Conversation

jshlbrd
Copy link
Collaborator

@jshlbrd jshlbrd commented Dec 14, 2024

Description

  • Adds support for GoReleaser.
  • Uploads macOS and Linux builds (amd64, arm64) for the Substation CLI to new releases.

Motivation and Context

Using pre-built binaries for the CLI tool can significantly reduce the time it takes to integrate and use the tool compared to building from source. Building from source takes ~70s on my laptop, but downloading and extracting the pre-built binary takes ~5s.

How Has This Been Tested?

Example releases are here and can be tested using these Terminal commands:

$ wget https://github.com/jshlbrd/substation/releases/download/v4.0.0/substation_Darwin_arm64.tar.gz
$ tar -zxvf substation_Darwin_arm64.tar.gz substation
$ substation -h

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

  • My code follows the code style of this project.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.

@jshlbrd jshlbrd changed the title ci: Add GoReleaser Support for macOS ci: Add GoReleaser Support for macOS and Linux Dec 14, 2024
@jshlbrd jshlbrd marked this pull request as ready for review December 19, 2024 01:52
@jshlbrd jshlbrd requested a review from a team as a code owner December 19, 2024 01:52
@jshlbrd jshlbrd merged commit 0732db7 into main Dec 19, 2024
7 checks passed
@jshlbrd jshlbrd deleted the jshlbrd/ci/go-releaser branch December 19, 2024 15:32
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