Browse Source

add input path to version logic

Casey DeLorme 8 years ago
parent
commit
4b795fa4ce
1 changed files with 1 additions and 1 deletions
  1. 1 1
      generator.go

+ 1 - 1
generator.go

@@ -301,7 +301,7 @@ func (self *Generator) Generate() error {
 	}
 	}
 
 
 	// acquire version
 	// acquire version
-	self.version = version()
+	self.version = version(self.Input)
 
 
 	// sanitize input & output
 	// sanitize input & output
 	self.Input, _ = filepath.Abs(self.Input)
 	self.Input, _ = filepath.Abs(self.Input)