fixed version output in manifest file

This commit is contained in:
Stefan Hoffmann 2023-05-30 22:00:11 +02:00
parent b16d319b0c
commit d420b2a31b
Signed by: stefan
GPG Key ID: 8EFC7042BF8D5CDD

View File

@ -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