|
|
|
|
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
|