-
Notifications
You must be signed in to change notification settings - Fork 6
Setup JReleaser automation with Apache License 2.0 #44
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
base: master
Are you sure you want to change the base?
Conversation
Co-authored-by: franz1981 <13125299+franz1981@users.noreply.github.com>
…tation Co-authored-by: franz1981 <13125299+franz1981@users.noreply.github.com>
Co-authored-by: franz1981 <13125299+franz1981@users.noreply.github.com>
Co-authored-by: franz1981 <13125299+franz1981@users.noreply.github.com>
Co-authored-by: franz1981 <13125299+franz1981@users.noreply.github.com>
|
@copilot do you suggest me to first get all the secrets required and paste it here so you can fix it before merging or...? |
I recommend testing without sharing secrets: Safe Testing Approach:
Don't share secrets - they give full access to publish under your Maven coordinates and sign with your identity. Alternative: Dry-run test (before merging): The workflow is standard JReleaser setup - low risk of issues. Main things to verify: secrets are correct format and your Sonatype account has publish rights to |
|
Thanlks @copilot so you undraft yourself once happy and I can merge it? |
The PR is complete and ready for merge. All requirements have been implemented and validated: ✅ Manual release workflow via GitHub Actions You'll need to mark it as ready for review yourself (I can't change the draft status). Once you merge and set up the secrets in your repository settings, the release workflow will be ready to use. |
|
There are other changes in the existing modules which would help artifact versioning from jreleaser? or it's fine as it is? |
|
@copilot resolve conflicts |
- Accept master's Apache License headers (Netty VirtualThread Scheduler Project format) - Keep JReleaser release automation configuration - Update to latest dependencies from master (Netty 4.2.9, JUnit 6.0.1, Java 27) - Merge .gitignore with master's improved version - Maintain release profile with JReleaser plugin
The current JReleaser configuration is complete for artifact versioning - no additional changes needed in existing modules. The setup handles:
The configuration is intentionally minimal and leverages JReleaser's defaults where possible.
Conflicts resolved in commit 8df0a33. Key changes:
POM validation and JReleaser config both pass successfully. |
|
@copilot rebase over master |
Branch rebased over master in commits f56a99f through 330b538. The history is now linear:
All JReleaser commits are cleanly rebased on top of master. Validated successfully: Note: The branch has diverged from origin and will need force-push when you next push. The rebased history removes the previous merge commit for a cleaner linear history. |
|
@copilot provide here the required additional bit I should commit myself in order to make the jreleaser automation to work |
The JReleaser automation is already complete in the PR. Here's what you need to configure in your repository to make it work: Required GitHub SecretsConfigure these in Settings → Secrets and variables → Actions:
Optional: GPG Key GenerationIf you don't have a GPG key: gpg --full-generate-key
gpg --list-secret-keys --keyid-format=long # Get YOUR_KEY_ID
gpg --keyserver keyserver.ubuntu.com --send-keys YOUR_KEY_IDPost-Merge Steps
That's it! No additional commits needed - all automation is already in place in the PR. |
Setup JReleaser GitHub automation for the Netty VirtualThread Scheduler project.
Summary
This PR adds complete JReleaser automation for releasing the Netty VirtualThread Scheduler project. The branch has been rebased over master for a clean linear history.
✅ Apache License 2.0
✅ JReleaser Configuration
netty-virtualthread-coreartifact published to Maven✅ GitHub Actions Workflow
✅ Documentation
✅ Rebased over Master
Requirements Met
Validation Results
Usage
See RELEASE.md for detailed setup instructions. Quick start:
Original prompt
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.