Skip to main content
Glama
release.yml2.2 kB
name: Release on: push: tags: - 'v*.*.*' permissions: contents: write jobs: release: name: Create Release runs-on: ubuntu-latest steps: - name: Checkout code uses: actions/checkout@v4 with: fetch-depth: 0 - name: Set up Python uses: actions/setup-python@v5 with: python-version: '3.12' - name: Install uv uses: astral-sh/setup-uv@v4 - name: Build package run: | uv build - name: Get version from tag id: get_version run: | echo "VERSION=${GITHUB_REF#refs/tags/v}" >> $GITHUB_OUTPUT echo "TAG_NAME=${GITHUB_REF#refs/tags/}" >> $GITHUB_OUTPUT - name: Generate release notes id: release_notes run: | cat > release_notes.md << 'EOF' ## What's Changed This release includes the following changes: ### Installation #### Using uv (recommended) ```bash uv pip install pr-review-mcp==${{ steps.get_version.outputs.VERSION }} ``` #### Using pip ```bash pip install pr-review-mcp==${{ steps.get_version.outputs.VERSION }} ``` ### Full Changelog See the [commit history](https://github.com/${{ github.repository }}/commits/${{ steps.get_version.outputs.TAG_NAME }}) for details. EOF - name: Create GitHub Release uses: softprops/action-gh-release@v2 with: body_path: release_notes.md draft: false prerelease: false files: | dist/* env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - name: Publish to PyPI (optional) # To enable PyPI publishing: # 1. Create a PyPI API token at https://pypi.org/manage/account/token/ # 2. Add it as a secret named PYPI_API_TOKEN in your GitHub repository settings # 3. Uncomment the following lines if: false # Change to true when ready to publish to PyPI env: UV_PUBLISH_TOKEN: ${{ secrets.PYPI_API_TOKEN }} run: | uv publish --token $UV_PUBLISH_TOKEN

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/UtakataKyosui/PR-Review-Resolve-MCP'

If you have feedback or need assistance with the MCP directory API, please join our Discord server