Skip to main content
Glama
release.yml1.06 kB
name: Release on: push: branches: [ main ] paths: [ 'cmd/sourcerer/VERSION' ] jobs: check-and-tag: runs-on: ubuntu-latest permissions: contents: write steps: - name: Checkout code uses: actions/checkout@v4 with: fetch-depth: 0 - name: Check if tag exists id: tag_check run: | VERSION=$(cat cmd/sourcerer/VERSION | tr -d '\n\r') echo "version=$VERSION" >> $GITHUB_OUTPUT if git tag -l | grep -q "^$VERSION$"; then echo "exists=true" >> $GITHUB_OUTPUT else echo "exists=false" >> $GITHUB_OUTPUT fi - name: Create and push tag if: steps.tag_check.outputs.exists == 'false' run: | git config user.name "${{ github.actor }}" git config user.email "${{ github.actor_id }}+${{ github.actor }}@users.noreply.github.com" git tag -a "${{ steps.tag_check.outputs.version }}" -m "Release ${{ steps.tag_check.outputs.version }}" git push origin "${{ steps.tag_check.outputs.version }}"

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/st3v3nmw/sourcerer-mcp'

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