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
   - sed -i '1,3d; $d' README.md && echo "### Version\n\n${DRONE_TAG}\n" >> ./README.md
56
   - sed -i '1,3d; $d' README.md && echo "### Version\n\n${DRONE_TAG}\n" >> ./README.md
57
   - sed -i -e 1,4d ./globals.md && cat ./globals.md >> ./README.md
57
   - sed -i -e 1,4d ./globals.md && cat ./globals.md >> ./README.md
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}"
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
   environment:
60
   environment:
61
     GIT_USER:
61
     GIT_USER:
62
       from_secret: git_user
62
       from_secret: git_user

+ 1
- 1
package.json View File

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

Loading…
Cancel
Save