瀏覽代碼

fix git commit

master
Daniel Huebleitner 5 年之前
父節點
當前提交
e8acdd04ab
共有 2 個文件被更改,包括 3 次插入3 次删除
  1. 2
    2
      .drone.yml
  2. 1
    1
      package.json

+ 2
- 2
.drone.yml 查看文件

@@ -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 查看文件

@@ -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…
取消
儲存