Browse Source

add ver

master
peter 5 years ago
parent
commit
216cfaa0f9
1 changed files with 2 additions and 0 deletions
  1. 2
    0
      .drone.yml

+ 2
- 0
.drone.yml View File

@@ -70,6 +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
+  - echo "# Version" >> ./README.md
74
+  - echo "${DRONE_TAG}" >> ./README.md
73 75
   - echo "add files in ${DRONE_REPO_NAME}"; git add -A
74 76
   - git commit --allow-empty -m "Drone tagged as ${DRONE_TAG}"
75 77
   - git push --force origin master

Loading…
Cancel
Save