From e8acdd04ab9e5277c75068b51133a2101fe3cd47 Mon Sep 17 00:00:00 2001 From: Daniel Huebleitner Date: Mon, 28 Oct 2019 21:52:25 +0100 Subject: [PATCH] fix git commit --- .drone.yml | 4 ++-- package.json | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.drone.yml b/.drone.yml index 4263a80..89f06ee 100644 --- a/.drone.yml +++ b/.drone.yml @@ -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/* . - 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 - - git commit --all --allow-empty --message "drone tag: ${DRONE_TAG}" --author "${DRONE_COMMIT_AUTHOR} <${DRONE_COMMIT_AUTHOR_EMAIL}>" - - git push --force origin master + - 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} environment: GIT_USER: from_secret: git_user diff --git a/package.json b/package.json index 9368456..81f7cec 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "rpclibrary", - "version": "1.3.4", + "version": "1.3.5", "description": "rpclibrary is a websocket on steroids!", "main": "./js/Index.js", "repository": {