Skip to content

Add automatic snapshot release workflow on master push#105

Merged
bernardladenthin merged 1 commit intomasterfrom
claude/document-build-artifacts-Ls8XC
May 7, 2026
Merged

Add automatic snapshot release workflow on master push#105
bernardladenthin merged 1 commit intomasterfrom
claude/document-build-artifacts-Ls8XC

Conversation

@bernardladenthin
Copy link
Copy Markdown
Owner

Summary

This PR adds an automated snapshot release workflow that publishes JAR artifacts to GitHub Releases whenever code is pushed to the master branch.

Key Changes

  • Trigger on master push: Added push event trigger to the release workflow that activates on commits to the master branch
  • New snapshot publishing job: Added publish-snapshot job that:
    • Runs after successful package job completion
    • Downloads the built JAR artifacts
    • Deletes the previous snapshot release and tag
    • Creates a new rolling snapshot release with the current build artifacts
    • Tags the release as a prerelease pointing to the current commit
    • Includes workflow run link in release notes for traceability

Implementation Details

  • The snapshot job only runs on push events to master (not on pull requests or manual dispatch)
  • Uses GitHub CLI (gh) to manage the snapshot release lifecycle
  • The snapshot release is always recreated, replacing the previous one (rolling release pattern)
  • Includes proper permissions configuration (contents: write) for release management
  • Release notes automatically include the commit SHA and link to the workflow run for easy debugging

https://claude.ai/code/session_014bbPDNVsvvcWDK3eWaWZdt

…ster push

After each successful push to master the new publish-snapshot job downloads
the llama-jars artifact, deletes any previous snapshot release + tag, and
creates a fresh pre-release tagged 'snapshot' with the JARs attached.

This gives users a stable, always-current download link without waiting for
an official GitHub Release.

https://claude.ai/code/session_014bbPDNVsvvcWDK3eWaWZdt
@bernardladenthin bernardladenthin merged commit 17bf632 into master May 7, 2026
13 checks passed
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.

2 participants