Skip to content

Add release workflow for PyPI and GitHub releases#5

Merged
colesmcintosh merged 1 commit intomainfrom
add-release-workflow
Dec 27, 2025
Merged

Add release workflow for PyPI and GitHub releases#5
colesmcintosh merged 1 commit intomainfrom
add-release-workflow

Conversation

@colesmcintosh
Copy link
Owner

Summary

  • Add automated release workflow triggered by version tags (e.g., v0.2.2) or manual dispatch
  • Runs tests before releasing
  • Builds and publishes package to PyPI using trusted publishing
  • Creates GitHub release with auto-generated release notes

Setup Required

To enable PyPI publishing, configure trusted publishing on PyPI:

  1. Go to https://pypi.org/manage/project/langchain-salesforce/settings/publishing/
  2. Add a new publisher with:
    • Owner: colesmcintosh
    • Repository: langchain-salesforce
    • Workflow name: release.yml
    • Environment: (leave blank)

Usage

Tag-based release:

git tag v0.2.2
git push origin v0.2.2

Manual release:

  • Go to Actions > Release > Run workflow
  • Enter the version number

@github-actions
Copy link

👋 Welcome to langchain-salesforce!

Thank you for contributing! Your pull request will be automatically checked for:

  • Code formatting (ruff format)
  • Import sorting (ruff)
  • Linting (ruff check)
  • Type checking (mypy)
  • Spelling (codespell)
  • Unit tests (pytest)

🔍 Required Checks

All pull requests must pass the following checks before merging:

  • Pull Request Checks workflow must complete successfully
  • All required status checks must be green

🧪 Integration Tests

Integration tests will run automatically on pushes to main. For pull requests, add the integration-tests label to trigger them.

🚀 Getting Started

If you need to fix any issues:

  1. Format code: make format
  2. Check linting: make lint
  3. Run tests: make test

The CI checks will update automatically when you push new commits.

📚 Documentation


This comment was automatically generated by GitHub Actions.

@colesmcintosh colesmcintosh merged commit 76417e5 into main Dec 27, 2025
8 checks passed
@colesmcintosh colesmcintosh deleted the add-release-workflow branch December 27, 2025 22:35
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.

1 participant