Skip to content

Commit ac70a75

Browse files
author
GitLab CI
committed
chore: fix release script (git add -u), add target/ to gitignore
1 parent 4e9473e commit ac70a75

2 files changed

Lines changed: 9 additions & 1 deletion

File tree

.gitignore

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,3 +80,10 @@ intellij-plugin/build/
8080
# Note: gradle/, gradlew, gradlew.bat are NOT ignored - needed for CI/CD
8181
.mcp.json
8282
node_modules
83+
84+
# Rust build output
85+
target/
86+
87+
# Generated files
88+
**/gen/
89+
**/icons/icon.png

scripts/release.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,8 @@ fi
176176
# Step 4: Show changes and confirm
177177
echo ""
178178
echo "📋 Changes to be committed:"
179-
git add -A
179+
git add -u # Only stage modified tracked files (not untracked)
180+
git add .gitignore # Include .gitignore changes
180181
git diff --cached --stat
181182
echo ""
182183

0 commit comments

Comments
 (0)