Skip to content

feat(cli): add CD workflow and bump version to 0.2.0b1#4653

Merged
whysosaket merged 2 commits intomem0ai:mainfrom
whysosaket:cli/publish-package
Apr 1, 2026
Merged

feat(cli): add CD workflow and bump version to 0.2.0b1#4653
whysosaket merged 2 commits intomem0ai:mainfrom
whysosaket:cli/publish-package

Conversation

@whysosaket
Copy link
Copy Markdown
Member

@whysosaket whysosaket commented Apr 1, 2026

Summary

  • Add a new CD workflow (cli-python-cd.yml) to publish the mem0-cli Python package to PyPI on release
  • Bump mem0-cli version from 0.1.0 to 0.2.0b1 (pre-release beta)

Details

  • Workflow triggers on GitHub Release events and filters for tags starting with cli-v (e.g. cli-v0.2.0b1)
  • Uses OIDC Trusted Publishing (no stored PyPI tokens needed) — same approach as the main mem0ai package
  • Builds with Hatch from the cli/python/ directory
  • Uses updated action versions (checkout@v4, setup-python@v5)

Setup Required

After merge, configure Trusted Publishing on PyPI for the mem0-cli package:

  • Owner: mem0ai
  • Repository: mem0
  • Workflow: cli-python-cd.yml

Test Plan

  • Verify workflow file is valid YAML and triggers correctly on a cli-v* release
  • Confirm OIDC Trusted Publishing is configured on PyPI for mem0-cli
  • Create a test pre-release (cli-v0.2.0b1) and verify package appears on PyPI
  • Confirm pip install mem0-cli==0.2.0b1 works
  • Confirm pip install mem0-cli (without --pre) does NOT install the beta

🤖 Generated with Claude Code

@whysosaket whysosaket merged commit c788d77 into mem0ai:main Apr 1, 2026
6 of 7 checks passed
@whysosaket whysosaket deleted the cli/publish-package branch April 1, 2026 15:59
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