瀏覽代碼

push

master
peter 5 年之前
父節點
當前提交
8a637f9c62
共有 1 個檔案被更改,包括 2 行新增2 行删除
  1. 2
    2
      .drone.yml

+ 2
- 2
.drone.yml 查看文件

@@ -70,8 +70,8 @@ steps:
70 70
   - echo "remove files in ${DRONE_REPO_NAME}"; rm -rf ./*
71 71
   - echo "copy docs to ${DRONE_REPO_NAME}"; cp -r ../docs/* .
72 72
   - ls
73
-  - head -n -2 ../README.md > ./README.0.md
74
-  - mv README.0.md README.md
73
+  - rm ./README.md
74
+  - head -n -2 ../README.md > ./README.md
75 75
   - echo "## Version" >> ./README.md
76 76
   - echo "${DRONE_TAG}" >> ./README.md
77 77
   - echo "" >> ./README.md

Loading…
取消
儲存