Skip to content

chore: go releaser #71

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 2 commits into from
Apr 3, 2025
Merged

chore: go releaser #71

merged 2 commits into from
Apr 3, 2025

Conversation

SamMorrowDrums
Copy link
Collaborator

Add a release mechanism on to run on semver tag push. Uses Goreleaser.

@Copilot Copilot AI review requested due to automatic review settings April 3, 2025 10:09
Copy link
Contributor

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR integrates GoReleaser to automate the release process when a semver tag is pushed, ensuring version information is dynamically injected at build time.

  • Introduces version, commit, and date variables in main.go and updates the cobra command to display version info.
  • Updates the GitHub client’s UserAgent string to include the version.
  • Adds configuration files for GoReleaser (.goreleaser.yaml) and a GitHub Actions workflow (.github/workflows/goreleaser.yml) to manage release automation.

Reviewed Changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated no comments.

File Description
cmd/github-mcp-server/main.go Defines variables for version info and updates the UserAgent string.
.goreleaser.yaml Configures build ldflags and archive settings for GoReleaser.
.github/workflows/goreleaser.yml Sets up a workflow to trigger the release process on semver tag push.

Tip: Copilot only keeps its highest confidence comments to reduce noise and keep you focused. Learn more

@SamMorrowDrums SamMorrowDrums merged commit 73ce058 into main Apr 3, 2025
16 checks passed
manian0430 pushed a commit to ChrisLally/github-mcp-server that referenced this pull request Apr 12, 2025
* add goreleaser and associated workflows
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.

1 participant