Browse Source

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

tags/v0.1
Starbeamrainbowlabs 3 years ago
parent
commit
ef3561c9ac
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      SpritePacker/Program.cs

+ 1
- 1
SpritePacker/Program.cs View File

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

Loading…
Cancel
Save