I’m using Github, and realized they have a nice little api for accessing repo information like commits, who did it, etc.
This would be a great way to show previous versions of the project on an external site, but I was wondering if there is a known way to add a Version Number to the master commit?
So the version number would either automatically increase with each master commit or I can manually set it.
I know I can add it in the notes, but I’m not familiar if there is a way to separate it.
You can use a tag to set a version number. You can read about the tag command on the git tag man page. At work I setup our build server to automatically increment a build version number which is then applied using a tag. I think this will meet your needs?