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:
parent
4bf87914ce
commit
ef3561c9ac
1 changed files with 1 additions and 1 deletions
|
@ -40,7 +40,7 @@ namespace SpritePacker
|
||||||
public static int Main(string[] args)
|
public static int Main(string[] args)
|
||||||
{
|
{
|
||||||
string commitHash = Utilities.GetEmbeddedResourceContent(commitHashFilename).Trim();
|
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++)
|
for(int i = 0; i < args.Length; i++)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue