-
Notifications
You must be signed in to change notification settings - Fork 176
Release client and server #260
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
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 adds release automation for client and server components by configuring JReleaser and adding a GitHub Actions workflow for publishing to Maven Central Portal.
- Configures JReleaser with GitHub release settings that skip tag/release creation
- Adds a GitHub Actions workflow for building and publishing client and server modules
- Sets up automated publication to Maven Central with proper GPG signing and authentication
Reviewed Changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 3 comments.
| File | Description |
|---|---|
| buildSrc/src/main/kotlin/mcp.jreleaser.gradle.kts | Adds GitHub release configuration to skip tagging and release creation |
| .github/workflows/publish-client-and-server.yml | New workflow for automated publishing of client and server to Maven Central |
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
| skipRelease = true | ||
| skipTag = true | ||
| overwrite = false | ||
| token = "none" |
Copilot
AI
Sep 11, 2025
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.
Using a hardcoded 'none' token value could cause authentication issues. Consider using a proper environment variable or removing this line if GitHub token authentication is handled elsewhere.
| token = "none" | |
| token = System.getenv("GITHUB_TOKEN") |
| GPG_SECRET_KEY: ${{ secrets.GPG_SECRET_KEY }} | ||
| SIGNING_PASSPHRASE: ${{ secrets.SIGNING_PASSPHRASE }} |
Copilot
AI
Sep 11, 2025
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.
These environment variables duplicate the JRELEASER_GPG_SECRET_KEY and JRELEASER_GPG_PASSPHRASE variables already set above. Consider removing the duplicates to reduce configuration redundancy.
| JRELEASER_GPG_PASSPHRASE: ${{ secrets.SIGNING_PASSPHRASE }} | ||
| JRELEASER_GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
| GPG_SECRET_KEY: ${{ secrets.GPG_SECRET_KEY }} | ||
| SIGNING_PASSPHRASE: ${{ secrets.SIGNING_PASSPHRASE }} |
Copilot
AI
Sep 11, 2025
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.
These environment variables are duplicated again in the publish step. The JRELEASER_* prefixed versions should be sufficient for JReleaser operations.
| SIGNING_PASSPHRASE: ${{ secrets.SIGNING_PASSPHRASE }} |
Motivation and Context
How Has This Been Tested?
Breaking Changes
Types of changes
Checklist
Additional context