diff --git a/kanban/banner/banner.go b/kanban/banner/banner.go index b372b838..745d7dad 100644 --- a/kanban/banner/banner.go +++ b/kanban/banner/banner.go @@ -3,13 +3,13 @@ package banner // Version ... -var Version = "v1.7.0" +var Version = "v1.7.1-beta1" // Copyright ... var Copyright = "© 2020 - 2023 FloatTech" // Banner ... var Banner = "* OneBot + ZeroBot + Golang\n" + - "* Version " + Version + " - 2023-03-20 12:27:42 +0800 CST\n" + + "* Version " + Version + " - 2023-03-25 20:09:29 +0800 CST\n" + "* Copyright " + Copyright + ". All Rights Reserved.\n" + "* Project: https://github.com/FloatTech/ZeroBot-Plugin" diff --git a/winres/gen/json.go b/winres/gen/json.go index 3fe9d8fe..4b5203f4 100644 --- a/winres/gen/json.go +++ b/winres/gen/json.go @@ -89,7 +89,7 @@ func main() { commitcnt := strings.Builder{} commitcnt.WriteString(banner.Version[1:i]) commitcnt.WriteByte('.') - commitcntcmd := exec.Command("git", "rev-list", "--count", "master") + commitcntcmd := exec.Command("git", "rev-list", "--count", "HEAD") commitcntcmd.Stdout = &commitcnt err = commitcntcmd.Run() if err != nil { diff --git a/winres/winres.json b/winres/winres.json index 48c0ede1..67536e67 100644 --- a/winres/winres.json +++ b/winres/winres.json @@ -12,7 +12,7 @@ "0409": { "identity": { "name": "ZeroBot-Plugin", - "version": "1.7.0.1760" + "version": "1.7.1.1769" }, "description": "", "minimum-os": "vista", @@ -36,23 +36,23 @@ "#1": { "0000": { "fixed": { - "file_version": "1.7.0.1760", - "product_version": "v1.7.0", - "timestamp": "2023-03-20T12:28:01+08:00" + "file_version": "1.7.1.1769", + "product_version": "v1.7.1-beta1", + "timestamp": "2023-03-25T20:09:59+08:00" }, "info": { "0409": { "Comments": "OneBot plugins based on ZeroBot", "CompanyName": "FloatTech", "FileDescription": "https://github.com/FloatTech/ZeroBot-Plugin", - "FileVersion": "1.7.0.1760", + "FileVersion": "1.7.1.1769", "InternalName": "", "LegalCopyright": "© 2020 - 2023 FloatTech. All Rights Reserved.", "LegalTrademarks": "", "OriginalFilename": "ZBP.EXE", "PrivateBuild": "", "ProductName": "ZeroBot-Plugin", - "ProductVersion": "v1.7.0", + "ProductVersion": "v1.7.1-beta1", "SpecialBuild": "" } }