1
0
Bifurcation 0

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

Cette révision appartient à :
Starbeamrainbowlabs 2016-05-25 12:06:17 +01:00
Parent 4bf87914ce
révision ef3561c9ac
1 fichiers modifiés avec 1 ajouts et 1 suppressions

Voir le fichier

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