Skip to content

Commit 6b0ee30

Browse files
committed
fix: simplify zip command path traversal in version bump workflow
1 parent 32cb813 commit 6b0ee30

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/bump-version.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -115,9 +115,9 @@ jobs:
115115
shell: bash
116116
run: |
117117
set -euo pipefail
118-
cd MCPForUnity/UnityMcpServer~
119-
zip -r ../../mcp-for-unity-server-v${NEW_VERSION}.zip .
120-
cd ../..
118+
cd MCPForUnity
119+
zip -r ../mcp-for-unity-server-v${NEW_VERSION}.zip UnityMcpServer~
120+
cd ..
121121
ls -lh mcp-for-unity-server-v${NEW_VERSION}.zip
122122
echo "Server package created: mcp-for-unity-server-v${NEW_VERSION}.zip"
123123

0 commit comments

Comments
 (0)