Browse Source

add ver

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

Loading…
Cancel
Save