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
rodič 4bf87914ce
revize ef3561c9ac
1 změnil soubory, kde provedl 1 přidání a 1 odebrání

Zobrazit soubor

@ -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++)
{