fix git commit

This commit is contained in:
Daniel Huebleitner
2019-10-28 21:52:25 +01:00
parent d4f3809586
commit e8acdd04ab
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -66,8 +66,8 @@ steps:
- 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 '$ 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 commit --all --allow-empty --message "drone tag&#58; ${DRONE_TAG}" --author "${DRONE_COMMIT_AUTHOR} <${DRONE_COMMIT_AUTHOR_EMAIL}>" - 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 push --force origin master - git tag ${DRONE_TAG} && git push --force origin master ${DRONE_TAG}
environment: environment:
GIT_USER: GIT_USER:
from_secret: git_user from_secret: git_user
+1 -1
View File
@@ -1,6 +1,6 @@
{ {
"name": "rpclibrary", "name": "rpclibrary",
"version": "1.3.4", "version": "1.3.5",
"description": "rpclibrary is a websocket on steroids!", "description": "rpclibrary is a websocket on steroids!",
"main": "./js/Index.js", "main": "./js/Index.js",
"repository": { "repository": {