Repository navigation
Add release workflow publishing dist archives on tag push - #13
Merged
Merged
Conversation
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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
.github/workflows/release.yml: on pushing a version tag ([0-9]*, matching the existing0.1.0style), it builds and tests the project (./gradlew build trinoPluginDistTar), then creates a GitHub release for the tag with thetrino-flight-sql-<version>.zip/.tardistribution archives attached and auto-generated release notes.fetch-depth: 0is required because gradle-git-version derives the version from tags.Verification
Ran
./gradlew trinoPluginDistZip trinoPluginDistTarlocally to confirm the task names and that the archives land inbuild/distributions/.🤖 Generated with Claude Code
https://claude.ai/code/session_01Hyh23au5JR5bBfXxg3MKeh