Skip to main content
Glama
release.yml1.52 kB
name: Create Release on: push: tags: - 'v*' permissions: contents: write jobs: release: runs-on: ubuntu-latest steps: - name: Checkout repository uses: actions/checkout@v4 with: fetch-depth: 0 - name: Extract version from tag id: version run: echo "version=${GITHUB_REF#refs/tags/v}" >> $GITHUB_OUTPUT - name: Extract changelog for this version id: changelog run: | # Extract the changelog section for this version VERSION="${{ steps.version.outputs.version }}" CHANGELOG=$(awk "/^## \[${VERSION}\]/{flag=1; next} /^## \[/{flag=0} flag" CHANGELOG.md) # Handle multiline output echo "changelog<<EOF" >> $GITHUB_OUTPUT echo "$CHANGELOG" >> $GITHUB_OUTPUT echo "EOF" >> $GITHUB_OUTPUT - name: Create GitHub Release uses: softprops/action-gh-release@v2 with: name: v${{ steps.version.outputs.version }} body: | ## What's Changed ${{ steps.changelog.outputs.changelog }} ## Docker Image ```bash docker pull ghcr.io/${{ github.repository }}:${{ steps.version.outputs.version }} ``` See [README](https://github.com/${{ github.repository }}#readme) for configuration instructions. draft: false prerelease: ${{ contains(github.ref, '-') }} env: GITHUB_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/mdlopresti/mealie-mcp'

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