ci: 👷 add Drone CI pipeline
continuous-integration/drone/push Build is failing Details

main
RaviAnand Mohabir 2 years ago
parent cc8d962739
commit ae53b36400

@ -1,12 +1,20 @@
pipeline: kind: pipeline
conventional_commits: type: kubernetes
image: node:18 name: default
steps:
- name: standard-version
image: node:19
commands: commands:
- git config --global user.email "moravrav@gmail.com" - git config --global user.email "moravrav@gmail.com"
- git config --global user.name "RaviAnand Mohabir" - git config --global user.name "RaviAnand Mohabir"
- git config --global url."https://$GIT_USERNAME:$GIT_TOKEN@gitea.ravianand.me/".insteadOf "https://gitea.ravianand.me/" - git config --global url."https://$GIT_USERNAME:$GIT_TOKEN@gitea.ravianand.me/".insteadOf "https://gitea.ravianand.me/"
- npm i -g standard-version - npm i -g standard-version
- standard-version - 'standard-version --releaseCommitMessageFormat "chore(release): {{currentTag}} [CI SKIP]"'
- git push origin $(git tag | tail -1) - git push --follow-tags origin
branches: main trigger:
branch:
- main
event:
- push
Loading…
Cancel
Save