Browse Source

docs should always be pushed, even if tag already exists

master
Daniel Huebleitner 5 years ago
parent
commit
2828d1af67
2 changed files with 2 additions and 2 deletions
  1. 1
    1
      .drone.yml
  2. 1
    1
      package.json

+ 1
- 1
.drone.yml View File

@@ -56,7 +56,7 @@ steps:
56 56
   - sed -i '1,3d; $d' README.md && echo "### Version\n\n${DRONE_TAG}\n" >> ./README.md
57 57
   - sed -i -e 1,4d ./globals.md && cat ./globals.md >> ./README.md
58 58
   - git add --all; git -c user.email="${DRONE_COMMIT_AUTHOR_EMAIL}" -c user.name="${DRONE_COMMIT_AUTHOR}" commit --all --allow-empty --message "generated from tag ${DRONE_TAG}"
59
-  - git tag ${DRONE_TAG}; git push --force origin master ${DRONE_TAG}
59
+  - (git tag ${DRONE_TAG} && git push --force origin master ${DRONE_TAG}) || true
60 60
   environment:
61 61
     GIT_USER:
62 62
       from_secret: git_user

+ 1
- 1
package.json View File

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

Loading…
Cancel
Save