We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/edicarloslds/businessmap-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server
preview-release-notes.shβ’1.27 KiB
#!/bin/bash
# Script to preview release notes without publishing
# Usage: ./preview-release-notes.sh [version]
set -e
# Get current version if not provided
if [ -z "$1" ]; then
CURRENT_VERSION=$(node -p "require('./package.json').version")
# Calculate next patch version as example
VERSION=$(node -p "
const semver = require('./package.json').version.split('.');
semver[2] = parseInt(semver[2]) + 1;
semver.join('.');
")
echo "π No version provided, using next patch version as preview: $VERSION"
else
VERSION=$1
fi
# Get the latest tag
LATEST_TAG=$(git describe --tags --abbrev=0 2>/dev/null || echo "")
if [ -z "$LATEST_TAG" ]; then
echo "π No previous tags found, will include all commits"
COMMIT_RANGE=""
else
echo "π Latest tag: $LATEST_TAG"
COMMIT_RANGE="$LATEST_TAG..HEAD"
fi
echo ""
echo "π Generating release notes preview for version $VERSION..."
echo "π Commit range: ${COMMIT_RANGE:-"all commits"}"
echo ""
echo "=" $(printf '%.0s=' {1..60})
# Generate the release notes using the dedicated script
bash scripts/generate-release-notes.sh "$VERSION" "$COMMIT_RANGE"
echo ""
echo "=" $(printf '%.0s=' {1..60})
echo ""
echo "π‘ To publish with these notes, run: npm run publish:npm && npm run publish:github"