Skip to content

Fixing the version artifact upload from release.yml - #233

Merged
yash-dodderi7 merged 1 commit into
mainfrom
gha-fix-release-yash
Aug 13, 2026
Merged

Fixing the version artifact upload from release.yml#233
yash-dodderi7 merged 1 commit into
mainfrom
gha-fix-release-yash

Conversation

@yash-dodderi7

@yash-dodderi7 yash-dodderi7 commented Aug 13, 2026

Copy link
Copy Markdown
Contributor

Related Issue

Resolves:
https://jira.issues.couchbase.com/browse/CBD-6781
https://jira.issues.couchbase.com/browse/DA-1987

What does this change do?

This is to ensure that the version artifacts are uploaded in the release.yml actions as well

Why is this change needed?

This is to ensure that the docker.yml is able to obtain the versions artifacts from release.yml actions

Evidence of Testing

Automated tests — commands run and results summary:

# e.g. uv run pytest tests/unit/  →  142 passed
# e.g. uv run pytest tests/integration/  →  38 passed, 2 skipped

Environments tested (both are required):

  • Couchbase Capella (version: ____)
  • Self-managed Couchbase Server (version: ____, e.g. via Docker)

Manual verification — MCP client used (Claude Desktop, Cursor, MCP Inspector, ...) and what was exercised. Screenshots or tool-call transcripts are very helpful:

Compatibility Considerations

Checklist

  • Linked to an issue (required for new tools). The issue can be on JIRA (preferred for internal contributors) or GitHub.
  • Uses the Couchbase SDK (REST fallback justified in the description, if any)
  • Works on both Capella and self-managed Couchbase Server
  • No changes to cb_mcp.core contracts / managed MCP interfaces (or discussed first)
  • Unit tests added/updated
  • Integration tests added/updated (for cluster-touching changes)
  • Read-only mode and tool annotations handled (for new/changed tools)
  • Evidence of testing included above
  • Docs updated (README, DOCKER.md) for user-facing changes
  • Lint and pre-commit pass

Comment thread .github/workflows/release.yml Dismissed
@AayushTyagi1
AayushTyagi1 marked this pull request as ready for review August 13, 2026 11:10
Copilot AI lite review requested due to automatic review settings August 13, 2026 11:10

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Updates the GitHub Actions release workflow to persist the resolved release version as a build artifact, enabling downstream workflows (e.g., docker.yml) triggered via workflow_run to retrieve the version consistently from the PyPI Release run.

Changes:

  • Writes the resolved version string to version.txt in .github/workflows/release.yml.
  • Uploads version.txt as the release-version artifact from the PyPI Release workflow run.

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

@yash-dodderi7
yash-dodderi7 merged commit c0bfd85 into main Aug 13, 2026
17 checks passed
@nithishr
nithishr deleted the gha-fix-release-yash branch August 17, 2026 12:14
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.

4 participants