#!/bin/bash
# Exit immediately if a command exits with a non-zero status
set -e
# Check if a version tag is provided
if [ -z "$1" ]; then
echo "Usage: $0 <version>"
exit 1
fi
VERSION=$1
MESSAGE=${2:-"Release $VERSION"}
# Switch to the master branch and pull the latest changes
git checkout master
git pull
# Create a new tag
git tag -a "$VERSION" -m "$MESSAGE"
# Push the tag to the remote repository
git push origin "$VERSION"
echo "Release $VERSION created and pushed successfully."
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/yoheimuta/protolint'
If you have feedback or need assistance with the MCP directory API, please join our Discord server