From 14c596be1fdeda0246b4a2121122ee03eda3b189 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=BA=90=E6=96=87=E9=9B=A8?= <41315874+fumiama@users.noreply.github.com> Date: Sat, 25 Mar 2023 20:10:19 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=96=20v1.7.1-beta1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- kanban/banner/banner.go | 4 ++-- winres/gen/json.go | 2 +- winres/winres.json | 12 ++++++------ 3 files changed, 9 insertions(+), 9 deletions(-) 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": "" } }