Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,13 @@ jobs:
# PackageCloud credentials for publishing Linux packages
PACKAGECLOUD_TOKEN: ${{ secrets.PACKAGECLOUD_TOKEN }}

- name: Publish to MCP Registry
if: "!contains(github.ref_name, '-')" # Skip pre-releases
run: |
VERSION="${GITHUB_REF_NAME#v}"
sed "s/{{ Version }}/$VERSION/g" server-template.json > server.json
./mcp-publisher publish

- name: Invalidate CloudFront Cache
env:
AWS_ACCESS_KEY_ID: ${{ secrets.TIGER_CLI_RELEASES_AWS_ACCESS_KEY_ID }}
Expand Down
7 changes: 0 additions & 7 deletions .goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -206,13 +206,6 @@ publishers:
env:
- PACKAGECLOUD_TOKEN={{ .Env.PACKAGECLOUD_TOKEN }}

# Publish server.json to MCP Registry
- name: mcp-registry
disable: '{{ ne .Prerelease "" }}' # Skip this step for prereleases
ids:
- docker # Only publish docker images
cmd: sh -c 'sed "s/\$VERSION/{{ .Version }}/g" server-template.json > server.json && ./mcp-publisher publish'

# Release configuration
release:
github:
Expand Down
4 changes: 2 additions & 2 deletions server-template.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"name": "io.github.timescale/tiger-cli",
"title": "Tiger MCP",
"description": "Provides programmatic access to Tiger Cloud services, databases, and documentation.",
"version": "$VERSION",
"version": "{{ Version }}",
"homepage": "https://github.com/timescale/tiger-cli",
"repository": {
"url": "https://github.com/timescale/tiger-cli",
Expand All @@ -12,7 +12,7 @@
"packages": [
{
"registryType": "oci",
"identifier": "ghcr.io/timescale/tiger-cli:$VERSION",
"identifier": "ghcr.io/timescale/tiger-cli:{{ Version }}",
"transport": {
"type": "stdio"
},
Expand Down