I create a C# .net project, using another shared project in it. Both are in GitHub, but different repos and might be from different owners. The shared project is added as a git submodule.
Is there anyway to get "the version" of that shared project, in my main project? The shared has no "version", that's why I write it "like this". But at least the last changed date in the shared project?
I might somehow find the commit id in the shared repo, but that's not so useful for users. I want the users should be able see "how new" the shared project is used.
Or a nice way to (automatically?) update a proper version number in the shared proj.
Or is the only way to use a public static Version and manually update ut when committing to the shared repo?
Better ideas?