瀏覽代碼

push

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

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

@@ -70,11 +70,11 @@ 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.md
73 74
   - echo "## Version" >> ./README.md
74 75
   - echo "${DRONE_TAG}" >> ./README.md
75 76
   - echo "" >> ./README.md
76 77
   - sed -i -e 1,4d ./globals.md
77
-  - head -n -3 ./README.md
78 78
   - cat globals.md >> ./README.md
79 79
   - echo "add files in ${DRONE_REPO_NAME}"; git add -A
80 80
   - git commit --allow-empty -m "Drone tagged as ${DRONE_TAG}"

Loading…
取消
儲存