Pulling Git Version Semantic tag into Project

Apologies if I have missed any other posts on this.

Using Perspective, 8.3.1. Windows server 2022.

I am using GitHub as SCS for a global perspective project that many sites will use. To ensure alignment on the versions of the app being used across sites I am using tags in Git to record app commit versions.

When testing this week I am cloning the project from GitHub to a new server/gateway and I can see the tag value in the project folder structure: in ‘.git’. Happy days!

Trying to pull that string value, say v1.3.1, into a gateway tag to use for a visual is the next challenge.

I have tried some clunky gateway scripts that look for the latest value in the project folder structure, but it does not feel slick, feels like a workaround.

With more SCS ‘fluency’ in 8.3 is there an easier way to do this? Have I missed something?

Or would this be a suggestion? Maybe push the most recent value into the Views session props?