fixed version output in manifest file
This commit is contained in:
parent
b16d319b0c
commit
991d8a9977
@ -44,9 +44,9 @@ func split_filenames(files []fs.FileInfo, dir string) []Files {
|
|||||||
}
|
}
|
||||||
split_name := len(split) - 1
|
split_name := len(split) - 1
|
||||||
// Routername
|
// Routername
|
||||||
router_name := strings.Join(split[5:split_name], "-")
|
router_name := strings.Join(split[4:split_name], "-")
|
||||||
//RELEASE
|
//RELEASE
|
||||||
router_release := strings.Join(split[3:5], "-")
|
router_release := strings.Join(split[2:4], "-")
|
||||||
//Checksum
|
//Checksum
|
||||||
sha256, _ := checksum.SHA256sum(dir + "/" + current_name)
|
sha256, _ := checksum.SHA256sum(dir + "/" + current_name)
|
||||||
//FileSize
|
//FileSize
|
||||||
|
Loading…
Reference in New Issue
Block a user