diff --git a/tasks/rust-nx-merge/task.yaml b/tasks/rust-nx-merge/task.yaml index a8cfd60..e643071 100644 --- a/tasks/rust-nx-merge/task.yaml +++ b/tasks/rust-nx-merge/task.yaml @@ -86,6 +86,10 @@ spec: fi cd - + # destination(monorepo) 변경사항 커밋 또는 리셋 + git add . + git commit -m "auto-commit before nx import" || git reset --hard HEAD + echo "Importing: $SRC → $TARGET" npx nx import "$SRC" "$TARGET" echo "Updating version to $(params.version)"