Skip to content

Commit fec463f

Browse files
committed
chore: rename UnityMcpBridge directory to MCPForUnity across workflow files
1 parent 58b4edc commit fec463f

File tree

3 files changed

+19
-19
lines changed

3 files changed

+19
-19
lines changed

.github/workflows/bump-version.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
run: |
3232
set -euo pipefail
3333
BUMP="${{ inputs.version_bump }}"
34-
CURRENT_VERSION=$(jq -r '.version' "UnityMcpBridge/package.json")
34+
CURRENT_VERSION=$(jq -r '.version' "MCPForUnity/package.json")
3535
echo "Current version: $CURRENT_VERSION"
3636
3737
IFS='.' read -r MA MI PA <<< "$CURRENT_VERSION"
@@ -63,15 +63,15 @@ jobs:
6363
run: |
6464
set -euo pipefail
6565
66-
echo "Updating UnityMcpBridge/package.json to $NEW_VERSION"
67-
jq ".version = \"${NEW_VERSION}\"" UnityMcpBridge/package.json > UnityMcpBridge/package.json.tmp
68-
mv UnityMcpBridge/package.json.tmp UnityMcpBridge/package.json
66+
echo "Updating MCPForUnity/package.json to $NEW_VERSION"
67+
jq ".version = \"${NEW_VERSION}\"" MCPForUnity/package.json > MCPForUnity/package.json.tmp
68+
mv MCPForUnity/package.json.tmp MCPForUnity/package.json
6969
70-
echo "Updating UnityMcpBridge/UnityMcpServer~/src/pyproject.toml to $NEW_VERSION"
71-
sed -i '0,/^version = ".*"/s//version = "'"$NEW_VERSION"'"/' "UnityMcpBridge/UnityMcpServer~/src/pyproject.toml"
70+
echo "Updating MCPForUnity/UnityMcpServer~/src/pyproject.toml to $NEW_VERSION"
71+
sed -i '0,/^version = ".*"/s//version = "'"$NEW_VERSION"'"/' "MCPForUnity/UnityMcpServer~/src/pyproject.toml"
7272
73-
echo "Updating UnityMcpBridge/UnityMcpServer~/src/server_version.txt to $NEW_VERSION"
74-
echo "$NEW_VERSION" > "UnityMcpBridge/UnityMcpServer~/src/server_version.txt"
73+
echo "Updating MCPForUnity/UnityMcpServer~/src/server_version.txt to $NEW_VERSION"
74+
echo "$NEW_VERSION" > "MCPForUnity/UnityMcpServer~/src/server_version.txt"
7575
7676
- name: Commit and push changes
7777
env:
@@ -81,7 +81,7 @@ jobs:
8181
set -euo pipefail
8282
git config user.name "GitHub Actions"
8383
git config user.email "[email protected]"
84-
git add UnityMcpBridge/package.json "UnityMcpBridge/UnityMcpServer~/src/pyproject.toml" "UnityMcpBridge/UnityMcpServer~/src/server_version.txt"
84+
git add MCPForUnity/package.json "MCPForUnity/UnityMcpServer~/src/pyproject.toml" "MCPForUnity/UnityMcpServer~/src/server_version.txt"
8585
if git diff --cached --quiet; then
8686
echo "No version changes to commit."
8787
else

.github/workflows/claude-nl-suite.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -55,14 +55,14 @@ jobs:
5555
uv venv
5656
echo "VIRTUAL_ENV=$GITHUB_WORKSPACE/.venv" >> "$GITHUB_ENV"
5757
echo "$GITHUB_WORKSPACE/.venv/bin" >> "$GITHUB_PATH"
58-
if [ -f UnityMcpBridge/UnityMcpServer~/src/pyproject.toml ]; then
59-
uv pip install -e UnityMcpBridge/UnityMcpServer~/src
60-
elif [ -f UnityMcpBridge/UnityMcpServer~/src/requirements.txt ]; then
61-
uv pip install -r UnityMcpBridge/UnityMcpServer~/src/requirements.txt
62-
elif [ -f UnityMcpBridge/UnityMcpServer~/pyproject.toml ]; then
63-
uv pip install -e UnityMcpBridge/UnityMcpServer~/
64-
elif [ -f UnityMcpBridge/UnityMcpServer~/requirements.txt ]; then
65-
uv pip install -r UnityMcpBridge/UnityMcpServer~/requirements.txt
58+
if [ -f MCPForUnity/UnityMcpServer~/src/pyproject.toml ]; then
59+
uv pip install -e MCPForUnity/UnityMcpServer~/src
60+
elif [ -f MCPForUnity/UnityMcpServer~/src/requirements.txt ]; then
61+
uv pip install -r MCPForUnity/UnityMcpServer~/src/requirements.txt
62+
elif [ -f MCPForUnity/UnityMcpServer~/pyproject.toml ]; then
63+
uv pip install -e MCPForUnity/UnityMcpServer~/
64+
elif [ -f MCPForUnity/UnityMcpServer~/requirements.txt ]; then
65+
uv pip install -r MCPForUnity/UnityMcpServer~/requirements.txt
6666
else
6767
echo "No MCP Python deps found (skipping)"
6868
fi
@@ -285,7 +285,7 @@ jobs:
285285
"mcpServers": {
286286
"unity": {
287287
"command": "uv",
288-
"args": ["run","--active","--directory","UnityMcpBridge/UnityMcpServer~/src","python","server.py"],
288+
"args": ["run","--active","--directory","MCPForUnity/UnityMcpServer~/src","python","server.py"],
289289
"transport": { "type": "stdio" },
290290
"env": {
291291
"PYTHONUNBUFFERED": "1",

.github/workflows/unity-tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ on:
55
branches: [main]
66
paths:
77
- TestProjects/UnityMCPTests/**
8-
- UnityMcpBridge/Editor/**
8+
- MCPForUnity/Editor/**
99
- .github/workflows/unity-tests.yml
1010

1111
jobs:

0 commit comments

Comments
 (0)