From faabc949c0d58d5f307936acf8135bb2df8d108f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=99=88=E5=8A=B2=E6=9D=BE?= <523037378@qq.com> Date: Wed, 9 Nov 2022 02:44:27 +0000 Subject: [PATCH] =?UTF-8?q?Update=20gitlab-ci.yml=20file=20=E9=9A=90?= =?UTF-8?q?=E8=97=8F=E5=B7=A6=E4=B8=8A=E8=A7=92=E7=9A=84=E6=9B=B4=E6=96=B0?= =?UTF-8?q?=E8=AE=B0=E5=BD=95=E9=93=BE=E6=8E=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitlab-ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 62019b5c..c9f702ea 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -18,7 +18,7 @@ before_script: generate_git-log: stage: gen_git-log script: - - if (( `grep git-log.html ./public/index.html | wc -l` == 0 )); then sed -i 's+
" > ./public/git-log.html
- "git log -100 --pretty=format:'%ad : %s' >> ./public/git-log.html"
+R\n+g' ./public/index.html; echo "添加更新记录链接"; fi; + - if (( `grep git-log.html ./public/index.html | wc -l` == 0 )); then sed -i 's++\n+g' ./public/index.html; echo "添加更新记录链接"; fi; - echo "最近的100个提交记录" - echo "