Skip to main content
Glama

mcp-openvision

by Nazruden
auto-release.yml2.32 kB
name: Auto Create Release on: push: branches: - main paths: - "pyproject.toml" permissions: contents: write id-token: write jobs: check-version-and-release: runs-on: ubuntu-latest steps: - name: Check out code uses: actions/checkout@v3 with: fetch-depth: 2 # We need at least the current and previous commit - name: Set up Python uses: actions/setup-python@v4 with: python-version: "3.10" - name: Check for version change id: check_version run: | git fetch # Get the previous version git show HEAD~1:pyproject.toml > previous_pyproject.toml PREV_VERSION=$(grep -m 1 "version" previous_pyproject.toml | cut -d'"' -f2 || echo "0.0.0") # Get the current version CURRENT_VERSION=$(grep -m 1 "version" pyproject.toml | cut -d'"' -f2) echo "Previous version: $PREV_VERSION" echo "Current version: $CURRENT_VERSION" # Compare versions if [ "$PREV_VERSION" != "$CURRENT_VERSION" ]; then echo "Version changed from $PREV_VERSION to $CURRENT_VERSION" echo "VERSION_CHANGED=true" >> $GITHUB_ENV echo "NEW_VERSION=$CURRENT_VERSION" >> $GITHUB_ENV else echo "Version unchanged, skipping release creation" echo "VERSION_CHANGED=false" >> $GITHUB_ENV fi - name: Create Release if: env.VERSION_CHANGED == 'true' id: create_release uses: actions/create-release@v1 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: tag_name: v${{ env.NEW_VERSION }} release_name: Release v${{ env.NEW_VERSION }} draft: false prerelease: false body: | Release of version ${{ env.NEW_VERSION }} This release was automatically created by the auto-release workflow. See the [CHANGELOG.md](https://github.com/Nazruden/mcp-openvision/blob/main/CHANGELOG.md) for details. - name: Trigger Publish Workflow if: env.VERSION_CHANGED == 'true' uses: peter-evans/repository-dispatch@v2 with: event-type: release-created token: ${{ secrets.GITHUB_TOKEN }}

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/Nazruden/mcp-openvision'

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