From 991d8a9977dfa01b7d4f6c5cd7f5de332e008981 Mon Sep 17 00:00:00 2001 From: Stefan Date: Tue, 30 May 2023 22:00:11 +0200 Subject: [PATCH] fixed version output in manifest file --- manifest.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/manifest.go b/manifest.go index 8a9a72c..4c52cc8 100644 --- a/manifest.go +++ b/manifest.go @@ -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