Browse Source

push

master
peter 5 years ago
parent
commit
8a637f9c62
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      .drone.yml

+ 2
- 2
.drone.yml View File

70
   - echo "remove files in ${DRONE_REPO_NAME}"; rm -rf ./*
70
   - echo "remove files in ${DRONE_REPO_NAME}"; rm -rf ./*
71
   - echo "copy docs to ${DRONE_REPO_NAME}"; cp -r ../docs/* .
71
   - echo "copy docs to ${DRONE_REPO_NAME}"; cp -r ../docs/* .
72
   - ls
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
   - echo "## Version" >> ./README.md
75
   - echo "## Version" >> ./README.md
76
   - echo "${DRONE_TAG}" >> ./README.md
76
   - echo "${DRONE_TAG}" >> ./README.md
77
   - echo "" >> ./README.md
77
   - echo "" >> ./README.md

Loading…
Cancel
Save