WIP, nae nae
This commit is contained in:
parent
59eae7f7ce
commit
5684f0b929
|
@ -142,7 +142,8 @@ func semVer(desc string) string {
|
|||
}
|
||||
|
||||
func gitTimestamp(desc string) (time.Time, error) {
|
||||
args := strings.Split(fmt.Sprintf("git show %s --format='%%cd' --date='format:%%Y-%%m-%%dT%%H:%%M:%%SZ%%z' --no-patch", desc), " ")
|
||||
args := strings.Split(fmt.Sprintf("git show %s --format='%%cd' --date='%%Y-%%m-%%dT%%H:%%M:%%SZ%%z' --no-patch", desc), " ")
|
||||
//args := strings.Split(fmt.Sprintf("git show %s --format='%%cd' --date='format:%%Y-%%m-%%dT%%H:%%M:%%SZ%%z' --no-patch", desc), " ")
|
||||
cmd := exec.Command(args[0], args[1:]...)
|
||||
out, err := cmd.CombinedOutput()
|
||||
fmt.Printf("foo:\n%#v\n", args)
|
||||
|
|
Loading…
Reference in New Issue