Brake fluid leak when changing shoes?

The brake fluid cap breaths so that really is not an issue. Chances are as you moved stuff around, you pushed the seal outward a little too far, or the spring inside the wheel cylinder did it for you. The important thing is that after you replaced the shoes and got everything back together, it doesn’t leak.