Compare commits

..

1 Commits

Author SHA1 Message Date
f60d68af2c [pr-66] fix: make old_line and new_line optional for image diff discussions
🐛 Bug Fix:
- Image files in GitLab MR discussions use x/y coordinates instead of line numbers
- Fixed schema validation error when fetching discussions on image files

📝 Details:
- Changed old_line and new_line from required to optional in GitLabDiscussionNoteSchema
- Allows proper handling of image diff comments that use position_type: 'image'
2025-05-30 12:37:16 +09:00
4 changed files with 7 additions and 8 deletions

View File

@ -34,6 +34,5 @@ jobs:
uses: docker/build-push-action@v5
with:
context: .
platforms: linux/amd64,linux/arm64
push: true
tags: ${{ steps.meta.outputs.tags }}

View File

@ -1,6 +1,6 @@
{
"action": "published",
"release": {
"tag_name": "v1.0.53"
"tag_name": "v1.0.52"
}
}

View File

@ -1,6 +1,6 @@
{
"name": "@zereight/mcp-gitlab",
"version": "1.0.53",
"version": "1.0.52",
"description": "MCP server for using the GitLab API",
"license": "MIT",
"author": "zereight",

View File

@ -10,9 +10,9 @@ IMAGE_NAME=gitlab-mcp
IMAGE_VERSION=$(jq -r '.version' package.json)
echo "${DOCKER_USER}/${IMAGE_NAME}:${IMAGE_VERSION}"
docker build --platform=linux/arm64 -t "${DOCKER_USER}/${IMAGE_NAME}:latest" .
docker buildx build --platform linux/arm64,linux/amd64 \
-t "${DOCKER_USER}/${IMAGE_NAME}:latest" \
-t "${DOCKER_USER}/${IMAGE_NAME}:${IMAGE_VERSION}" \
--push \
.
docker tag "${DOCKER_USER}/${IMAGE_NAME}:latest" "${DOCKER_USER}/${IMAGE_NAME}:${IMAGE_VERSION}"
docker push "${DOCKER_USER}/${IMAGE_NAME}:latest"
docker push "${DOCKER_USER}/${IMAGE_NAME}:${IMAGE_VERSION}"