|
@@ -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
|