Skip to main content
Glama
create-release.yml1.66 kB
name: Create Release on: push: tags: - 'v*' # Trigger on any tag starting with 'v' permissions: contents: write jobs: create-release: name: Create GitHub Release runs-on: ubuntu-latest steps: - name: Checkout code uses: actions/checkout@v5 with: fetch-depth: 0 - name: Set up Python uses: actions/setup-python@v6 with: python-version: '3.14' - name: Set up uv uses: astral-sh/setup-uv@v7 - name: Extract version from tag id: get_version run: | VERSION=${GITHUB_REF#refs/tags/v} echo "version=$VERSION" >> $GITHUB_OUTPUT echo "Release version: $VERSION" - name: Verify version matches pyproject.toml run: | PYPROJECT_VERSION=$(uv run python -c "import toml; print(toml.load('pyproject.toml')['project']['version'])") TAG_VERSION=${{ steps.get_version.outputs.version }} if [ "$PYPROJECT_VERSION" != "$TAG_VERSION" ]; then echo "Error: pyproject.toml version ($PYPROJECT_VERSION) doesn't match tag version ($TAG_VERSION)" exit 1 fi echo "Version verification passed: $TAG_VERSION" - name: Build package run: uv build - name: Create GitHub Release uses: softprops/action-gh-release@v2.4.1 with: tag_name: v${{ steps.get_version.outputs.version }} name: v${{ steps.get_version.outputs.version }} draft: false prerelease: false generate_release_notes: true files: dist/* token: ${{ secrets.GITHUB_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/arcaputo3/mcp-server-whisper'

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