OpenStudio standards fetch latest git commit
I am running OpenStudio-standards on the OS-server and I am always pulling the latest version of OpenStudio-standards from master branch through an initialization script.
I am able to use the following code to document which version of OpenStudio standards is being used.
OpenstudioStandards::VERSION
However this doesnt tell the entire story as the version of OpenStudio-standards may have commits ontop of the latest release. (At the time of writing there are)
I am wondering if there a way I can get the actual commit of the version of openstudio-standards that I am using?
@mdahlhausen do you have any suggestions here?
this is not easily done unless you request a specific commit to download
I think we need more information about how you're currently using OpenStudio Standards, i.e. local, remote, container, etc. My first thought is to use the GitHub API to fetch/pull the latest commit from a specific branch.