|
|
|
|
66
|
- git clone https://www.versioncontrol.me/frontwork-documentation/${DRONE_REPO_NAME}.git && cd ${DRONE_REPO_NAME} && rm -rf ./*; cp -r ../docs/* .
|
66
|
- git clone https://www.versioncontrol.me/frontwork-documentation/${DRONE_REPO_NAME}.git && cd ${DRONE_REPO_NAME} && rm -rf ./*; cp -r ../docs/* .
|
67
|
- sed -i '$ d' README.md && echo "### Version\n\n${DRONE_TAG}\n" >> ./README.md
|
67
|
- sed -i '$ d' README.md && echo "### Version\n\n${DRONE_TAG}\n" >> ./README.md
|
68
|
- sed -i -e 1,4d ./globals.md && cat ./globals.md >> ./README.md
|
68
|
- sed -i -e 1,4d ./globals.md && cat ./globals.md >> ./README.md
|
69
|
- - git commit --all --allow-empty --message "drone tag: ${DRONE_TAG}" --author "${DRONE_COMMIT_AUTHOR} <${DRONE_COMMIT_AUTHOR_EMAIL}>"
|
|
|
|
|
69
|
+ - git commit --all --allow-empty --message "drone tag: ${DRONE_TAG}" --author "${DRONE_COMMIT_AUTHOR} <${DRONE_COMMIT_AUTHOR_EMAIL}>"
|
70
|
- git push --force origin master
|
70
|
- git push --force origin master
|
71
|
environment:
|
71
|
environment:
|
72
|
GIT_USER:
|
72
|
GIT_USER:
|