remove first 3 lines in README

This commit is contained in:
Daniel Huebleitner
2019-10-28 22:13:47 +01:00
parent e8acdd04ab
commit bc2c69205b
+1 -1
View File
@@ -64,7 +64,7 @@ steps:
commands: commands:
- echo ${DRONE_BUILD_CREATED} - echo ${DRONE_BUILD_CREATED}
- git clone https://www.versioncontrol.me/frontwork-documentation/${DRONE_REPO_NAME}.git && cd ${DRONE_REPO_NAME} && rm -rf ./*; cp -r ../docs/* . - git clone https://www.versioncontrol.me/frontwork-documentation/${DRONE_REPO_NAME}.git && cd ${DRONE_REPO_NAME} && rm -rf ./*; cp -r ../docs/* .
- sed -i '$ d' README.md && echo "### Version\n\n${DRONE_TAG}\n" >> ./README.md - sed -i '1,3d; $d' README.md && echo "### Version\n\n${DRONE_TAG}\n" >> ./README.md
- sed -i -e 1,4d ./globals.md && cat ./globals.md >> ./README.md - sed -i -e 1,4d ./globals.md && cat ./globals.md >> ./README.md
- git -c user.email="${DRONE_COMMIT_AUTHOR_EMAIL}" -c user.name="${DRONE_COMMIT_AUTHOR}" commit --all --allow-empty --message "generated from tag ${DRONE_TAG}" - git -c user.email="${DRONE_COMMIT_AUTHOR_EMAIL}" -c user.name="${DRONE_COMMIT_AUTHOR}" commit --all --allow-empty --message "generated from tag ${DRONE_TAG}"
- git tag ${DRONE_TAG} && git push --force origin master ${DRONE_TAG} - git tag ${DRONE_TAG} && git push --force origin master ${DRONE_TAG}