Thanks for posting your query on health care magic.
Discharge from nipple other than pregnancy
is most probably pathologic.
Greenish liquid from the breast suggest duct infection.
I suggest you to avoid any more squeezing and consult a doctor immediately before spread of infection.
It may require antibiotics depending on the severity.
Analgesics like NSAID's may be required if its painful.
Hope this helps.