Skip to content

Add automated release for end-to-end (e2e) automation - #70

Open
BartoszBlizniak wants to merge 2 commits into
masterfrom
add-automated-github-release
Open

Add automated release for end-to-end (e2e) automation#70
BartoszBlizniak wants to merge 2 commits into
masterfrom
add-automated-github-release

Conversation

@BartoszBlizniak

@BartoszBlizniak BartoszBlizniak commented Aug 19, 2026

Copy link
Copy Markdown
Member

This pull request automates the release process by introducing a GitHub Actions workflow to handle tagging and releasing, and updates documentation and scripts to reflect this new workflow. The main goal is to reduce manual steps and potential errors during releases.

Release automation:

  • Added a new GitHub Actions workflow (.github/workflows/release.yml) that runs on every push to master or via manual dispatch. This workflow reads the PKG_VERSION from bin/generate, checks for existing releases/tags, runs tests, and creates the corresponding Git tag and GitHub release if needed.

Documentation updates:

  • Updated the release instructions in CONTRIBUTING.MD to explain that the release workflow now handles tagging and releasing automatically after a PR is merged, replacing previous manual steps.

Script improvements:

  • Modified scripts/update-bindings.sh to update the post-merge instructions, informing users that the release workflow will handle publishing, and to suggest re-running the workflow if it fails or is skipped.
  • Updated the usage output in scripts/update-bindings.sh to reflect that tag and release creation are now automated by the workflow.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Automates the repository’s release process for generated Go bindings by adding a GitHub Actions workflow that tags/releases based on the version in bin/generate, and updates contributor/docs/scripts to reflect the new post-merge release flow.

Changes:

  • Added a Release GitHub Actions workflow that determines the binding version, runs go test, and creates/attaches a GitHub release for v$PKG_VERSION when not already published.
  • Updated contributor documentation to describe the automated release behavior after merging.
  • Updated scripts/update-bindings.sh messaging to remove now-obsolete manual tagging/release steps.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 4 comments.

File Description
.github/workflows/release.yml New workflow to compute version from bin/generate, run tests, and create/attach GitHub releases/tags.
CONTRIBUTING.MD Documentation updated to reflect the automated tagging/release workflow after merges.
scripts/update-bindings.sh Usage/instructions updated to point users to the Release workflow instead of manual tagging.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread .github/workflows/release.yml
Comment thread .github/workflows/release.yml
Comment thread .github/workflows/release.yml Outdated
Comment thread CONTRIBUTING.MD Outdated
…casing/spelling fixes

Co-authored-by: BartoszBlizniak <55028730+BartoszBlizniak@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants