Jealousy

So i have this friend thats a girl and she looks like a guy. Shes not transgender its just the way she styles her hair and dresses. So i had a huge crush on her in 2018 and then i got over it. We went to this band camp together and we met this other girl who was flirting with her and at the end of camp she asked another one of our friends for my girl friends number. I got jealous so tried to make it seem like we were dating. Was that wrong of me? What should i have done?