Browse Source

fix git commit

master
Daniel Huebleitner 4 years ago
parent
commit
e8acdd04ab
2 changed files with 3 additions and 3 deletions
  1. 2
    2
      .drone.yml
  2. 1
    1
      package.json

+ 2
- 2
.drone.yml View File

@@ -66,8 +66,8 @@ steps:
66 66
   - git clone https://www.versioncontrol.me/frontwork-documentation/${DRONE_REPO_NAME}.git && cd ${DRONE_REPO_NAME} && rm -rf ./*; cp -r ../docs/* .
67 67
   - sed -i '$ 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
-  - git commit --all --allow-empty --message "drone tag&#58; ${DRONE_TAG}" --author "${DRONE_COMMIT_AUTHOR} <${DRONE_COMMIT_AUTHOR_EMAIL}>"
70
-  - git push --force origin master
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
+  - git tag ${DRONE_TAG} && git push --force origin master ${DRONE_TAG}
71 71
   environment:
72 72
     GIT_USER:
73 73
       from_secret: git_user

+ 1
- 1
package.json View File

@@ -1,6 +1,6 @@
1 1
 {
2 2
   "name": "rpclibrary",
3
-  "version": "1.3.4",
3
+  "version": "1.3.5",
4 4
   "description": "rpclibrary is a websocket on steroids!",
5 5
   "main": "./js/Index.js",
6 6
   "repository": {

Loading…
Cancel
Save