Browse Source

remove first 3 lines in README

master
Daniel Huebleitner 5 years ago
parent
commit
bc2c69205b
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      .drone.yml

+ 1
- 1
.drone.yml View File

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

Loading…
Cancel
Save