I think you'll find you got air in the brakes, and when you release the pedal,, fluid squirts up against the bottom of the cap/seal,, and some migrates out..
To check,, have someone pump brakes a coupla times and hold the pedal down,, take the cap off the M/C, and have the pedal released.. If you get a buncha fluid squirting back,, you got air,, get the air out,, and it won't squirt against the cap..
hope it helps