-
Notifications
You must be signed in to change notification settings - Fork 27
chore: add release workflow #258
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 a GitHub Actions workflow for automated releases triggered by version tags. The workflow handles Maven deployment with GPG signing and creates GitHub releases with JAR artifacts.
- Configures release automation triggered by version tags (v*)
- Sets up JDK 21, GPG key import, and Maven deployment with release profile
- Creates GitHub releases and uploads JAR artifacts automatically
.github/workflows/release.yml
Outdated
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
| with: | ||
| tag_name: ${{ github.ref }} | ||
| release_name: ${{ github.ref }} |
Copilot
AI
Aug 9, 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 github.ref for tag_name will include 'refs/tags/' prefix (e.g., 'refs/tags/v1.0.0'). Use github.ref_name instead to get just the tag name (e.g., 'v1.0.0').
| release_name: ${{ github.ref }} | |
| tag_name: ${{ github.ref_name }} | |
| release_name: ${{ github.ref_name }} |
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Summary
Testing
./mvnw -q verify(failed: Network is unreachable)https://chatgpt.com/codex/tasks/task_b_68969d778b848331a3661342d22128c1