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