From 350c0cae11731ee02ba762519f0d81b9f4a6a2cd Mon Sep 17 00:00:00 2001 From: zhangshuai Date: Wed, 12 Oct 2022 17:00:57 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E6=9B=B4=E6=8D=A2=20git-log=20=E6=96=87?= =?UTF-8?q?=E4=BB=B6=E7=B1=BB=E5=9E=8B=EF=BC=8C=E9=98=B2=E6=AD=A2=E5=86=B2?= =?UTF-8?q?=E7=AA=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitlab-ci.yml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index a14602daa..2df9dd9e6 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -50,13 +50,13 @@ dev_build: - export FILE_NAME=nz-gui-$CI_COMMIT_REF_NAME-$CI_COMMIT_SHORT_SHA.zip # 生成 git log 日志文件 - sed -i 's++更新记录\n+g' ./index.html; - - echo "" > ./static/git-log.html - - echo "" >> ./static/git-log.html - - echo '' >> ./static/git-log.html - - echo "" >> ./static/git-log.html - - echo "
" >> ./static/git-log.html
-    - "git log -100 --pretty=format:'%ad : %s' >> ./static/git-log.html"
-    - echo "
" >> ./static/git-log.html + # echo "" > ./static/git-log.html + # echo "" >> ./static/git-log.html + # echo '' >> ./static/git-log.html + # echo "" >> ./static/git-log.html + # echo "
" >> ./static/git-log.html
+    - "git log -100 --pretty=format:'%ad : %s' >> ./static/git-log.log"
+    # echo "
" >> ./static/git-log.html - zip -q -r $FILE_NAME ./* # 将 dist zip 上传到 minio