🔖 v1.7.1-beta1

This commit is contained in:
源文雨 2023-03-25 20:10:19 +08:00
parent 309afecadd
commit 14c596be1f
3 changed files with 9 additions and 9 deletions

View File

@ -3,13 +3,13 @@
package banner package banner
// Version ... // Version ...
var Version = "v1.7.0" var Version = "v1.7.1-beta1"
// Copyright ... // Copyright ...
var Copyright = "© 2020 - 2023 FloatTech" var Copyright = "© 2020 - 2023 FloatTech"
// Banner ... // Banner ...
var Banner = "* OneBot + ZeroBot + Golang\n" + 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" + "* Copyright " + Copyright + ". All Rights Reserved.\n" +
"* Project: https://github.com/FloatTech/ZeroBot-Plugin" "* Project: https://github.com/FloatTech/ZeroBot-Plugin"

View File

@ -89,7 +89,7 @@ func main() {
commitcnt := strings.Builder{} commitcnt := strings.Builder{}
commitcnt.WriteString(banner.Version[1:i]) commitcnt.WriteString(banner.Version[1:i])
commitcnt.WriteByte('.') commitcnt.WriteByte('.')
commitcntcmd := exec.Command("git", "rev-list", "--count", "master") commitcntcmd := exec.Command("git", "rev-list", "--count", "HEAD")
commitcntcmd.Stdout = &commitcnt commitcntcmd.Stdout = &commitcnt
err = commitcntcmd.Run() err = commitcntcmd.Run()
if err != nil { if err != nil {

View File

@ -12,7 +12,7 @@
"0409": { "0409": {
"identity": { "identity": {
"name": "ZeroBot-Plugin", "name": "ZeroBot-Plugin",
"version": "1.7.0.1760" "version": "1.7.1.1769"
}, },
"description": "", "description": "",
"minimum-os": "vista", "minimum-os": "vista",
@ -36,23 +36,23 @@
"#1": { "#1": {
"0000": { "0000": {
"fixed": { "fixed": {
"file_version": "1.7.0.1760", "file_version": "1.7.1.1769",
"product_version": "v1.7.0", "product_version": "v1.7.1-beta1",
"timestamp": "2023-03-20T12:28:01+08:00" "timestamp": "2023-03-25T20:09:59+08:00"
}, },
"info": { "info": {
"0409": { "0409": {
"Comments": "OneBot plugins based on ZeroBot", "Comments": "OneBot plugins based on ZeroBot",
"CompanyName": "FloatTech", "CompanyName": "FloatTech",
"FileDescription": "https://github.com/FloatTech/ZeroBot-Plugin", "FileDescription": "https://github.com/FloatTech/ZeroBot-Plugin",
"FileVersion": "1.7.0.1760", "FileVersion": "1.7.1.1769",
"InternalName": "", "InternalName": "",
"LegalCopyright": "© 2020 - 2023 FloatTech. All Rights Reserved.", "LegalCopyright": "© 2020 - 2023 FloatTech. All Rights Reserved.",
"LegalTrademarks": "", "LegalTrademarks": "",
"OriginalFilename": "ZBP.EXE", "OriginalFilename": "ZBP.EXE",
"PrivateBuild": "", "PrivateBuild": "",
"ProductName": "ZeroBot-Plugin", "ProductName": "ZeroBot-Plugin",
"ProductVersion": "v1.7.0", "ProductVersion": "v1.7.1-beta1",
"SpecialBuild": "" "SpecialBuild": ""
} }
} }