Discharge smells like period before period?

I was using the potty, and I noticed it smelled like my period does when I start (TMI, sorry). But I wiped and it was just clear discharge. I should start any day now. Why’s it so this?