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 "