- Notifications
You must be signed in to change notification settings - Fork1.4k
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Conversation
There was a problem hiding this 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
73ce058
intomainUh oh!
There was an error while loading.Please reload this page.
* add goreleaser and associated workflows
Add a release mechanism on to run on semver tag push. Uses Goreleaser.