From fcb3bd733922fc34763f7d046626893239637fc0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=A4=9A=E5=95=A6b=E6=A2=A6?= <1715109585@qq.com> Date: Sat, 4 Nov 2023 20:23:26 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8F=91=E5=B8=83,=E7=9C=8B=E7=9C=8B=E5=95=8A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../\345\217\221\345\270\203\350\275\257\344\273\266.yml" | 2 +- citool/gitLogSum/gitLogSum.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git "a/.github/workflows/\345\217\221\345\270\203\350\275\257\344\273\266.yml" "b/.github/workflows/\345\217\221\345\270\203\350\275\257\344\273\266.yml" index 0dd7517..4bd980b 100644 --- "a/.github/workflows/\345\217\221\345\270\203\350\275\257\344\273\266.yml" +++ "b/.github/workflows/\345\217\221\345\270\203\350\275\257\344\273\266.yml" @@ -35,7 +35,7 @@ jobs: - name: 更新描述文件 run: | pwd - ls + git log --pretty=format:"%an | %s | %h | %ad | %H" --date=format:'%Y-%m-%d %H:%M' $(git describe --tags --abbrev=0)^..HEAD cd ./citool/gitLogSum/ go run gitLogSum.go > updateLog.md cat updateLog.md diff --git a/citool/gitLogSum/gitLogSum.go b/citool/gitLogSum/gitLogSum.go index 0e038ca..9100e33 100644 --- a/citool/gitLogSum/gitLogSum.go +++ b/citool/gitLogSum/gitLogSum.go @@ -17,7 +17,7 @@ func main() { if err != nil { fmt.Printf("Command failed with error: %v\n", err) fmt.Printf("Combined Output:\n%s\n", out) - panic(err) + panic(out) } // 输出结果 //println(string(out))