Skip to content

feat: Adds GoReleaser#1

Merged
scalvert merged 2 commits intomainfrom
adds-goreleaser-etc
Jan 29, 2025
Merged

feat: Adds GoReleaser#1
scalvert merged 2 commits intomainfrom
adds-goreleaser-etc

Conversation

@scalvert
Copy link
Contributor

Summary

This pull request introduces several significant updates to the Glean CLI project, including the addition of a release workflow, configuration for GoReleaser, and multiple installation methods for the CLI.

Workflow and Release Automation:

  • .github/workflows/release.yml: Added a GitHub Actions workflow to automate releases using GoReleaser. This workflow triggers on tags matching the pattern 'v*', sets up the Go environment, and updates the Homebrew tap upon successful release.

GoReleaser Configuration:

  • .goreleaser.yml: Configured GoReleaser to handle builds for multiple operating systems and architectures, generate archives, update the Homebrew tap, and manage checksums and changelogs.

Documentation Updates:

  • README.md: Updated the installation section to include instructions for installing the Glean CLI using Homebrew, Go, a shell script, and manual download.

Shell Script Installer:

  • install.sh: Added a shell script to facilitate the installation of the Glean CLI on macOS and Linux. This script downloads the latest release, extracts the binary, and installs it to /usr/local/bin.

@scalvert scalvert changed the title feat: Adds Goreleaser feat: Adds GoReleaser Jan 28, 2025
Copy link
Collaborator

@rwjblue rwjblue left a comment

Choose a reason for hiding this comment

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

LGTM

@scalvert scalvert merged commit 986a4d3 into main Jan 29, 2025
10 checks passed
@scalvert scalvert deleted the adds-goreleaser-etc branch January 29, 2025 00:32
@scalvert scalvert review requested due to automatic review settings March 24, 2026 23:05
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