Correct short git commit hash in version string to be at the beginning of the full hash, not the end

This commit is contained in:
Starbeamrainbowlabs 2016-05-25 12:06:17 +01:00
förälder 4bf87914ce
incheckning ef3561c9ac
1 ändrade filer med 1 tillägg och 1 borttagningar

Visa fil

@ -40,7 +40,7 @@ namespace SpritePacker
public static int Main(string[] args)
{
string commitHash = Utilities.GetEmbeddedResourceContent(commitHashFilename).Trim();
Version += "-" + commitHash.Substring(commitHash.Length - 7);
Version += "-" + commitHash.Substring(0, 7);
for(int i = 0; i < args.Length; i++)
{