fix bug: delete project files when publish