Skip to content

Add release workflow publishing dist archives on tag push - #13

Merged
joker1007 merged 2 commits into
mainfrom
release-workflow
Aug 27, 2026
Merged

joker1007 merged 2 commits into
mainfrom
release-workflow

Conversation

@joker1007

Copy link
Copy Markdown
Contributor

Summary

  • New .github/workflows/release.yml: on pushing a version tag ([0-9]*, matching the existing 0.1.0 style), it builds and tests the project (./gradlew build trinoPluginDistTar), then creates a GitHub release for the tag with the trino-flight-sql-<version>.zip / .tar distribution archives attached and auto-generated release notes. fetch-depth: 0 is required because gradle-git-version derives the version from tags.
  • README requirements table: ADBC 0.23.0 → 0.24.0 (missed in Update java minor updates #7).

Verification

Ran ./gradlew trinoPluginDistZip trinoPluginDistTar locally to confirm the task names and that the archives land in build/distributions/.

🤖 Generated with Claude Code

https://claude.ai/code/session_01Hyh23au5JR5bBfXxg3MKeh

joker1007 and others added 2 commits August 27, 2026 20:11
When a version tag (e.g. 0.1.1) is pushed, build and test the plugin,
then create a GitHub release with the trinoPluginDistZip /
trinoPluginDistTar archives attached and auto-generated notes.

Also bump the ADBC version in the README requirements table to 0.24.0,
which the dependency update in #7 missed.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Hyh23au5JR5bBfXxg3MKeh
The zip was only built through the assemble -> trinoPluginDistZip
wiring, which is easy to miss when reading the workflow.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Hyh23au5JR5bBfXxg3MKeh
@joker1007
joker1007 merged commit 2d7ecb3 into main Aug 27, 2026
1 check passed
@joker1007
joker1007 deleted the release-workflow branch August 27, 2026 11:21
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