|
@@ -64,7 +64,7 @@ steps:
|
64
|
64
|
commands:
|
65
|
65
|
- echo ${DRONE_BUILD_CREATED}
|
66
|
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 '1,3d; $d' README.md && echo "### Version\n\n${DRONE_TAG}\n" >> ./README.md
|
68
|
68
|
- sed -i -e 1,4d ./globals.md && cat ./globals.md >> ./README.md
|
69
|
69
|
- git -c user.email="${DRONE_COMMIT_AUTHOR_EMAIL}" -c user.name="${DRONE_COMMIT_AUTHOR}" commit --all --allow-empty --message "generated from tag ${DRONE_TAG}"
|
70
|
70
|
- git tag ${DRONE_TAG} && git push --force origin master ${DRONE_TAG}
|