瀏覽代碼

add ver

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

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

@@ -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…
取消
儲存