Does it mean something when a guy rubs your back whilst hugging?

My friend and I have never hugged before but as we were leaving each other today he held his arms around for a hug and then rubbed my back a few times. And then we started talking again and we hugged again in the same way after. I think we hugged like four to five times, all the same way. For context, I like him and I’m trying to see if he feels the same way. He’s leaving the city for a bit too which is why saying goodbye was hard.

Does it mean something when a guy rubs your back whilst hugging?
Post Opinion