Explorar el Código

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

tags/v0.1
Starbeamrainbowlabs hace 3 años
padre
commit
ef3561c9ac
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. +1
    -1
      SpritePacker/Program.cs

+ 1
- 1
SpritePacker/Program.cs Ver fichero

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

Cargando…
Cancelar
Guardar