ci: 💚 fetch tags in ci

main
RaviAnand Mohabir 1 year ago
parent 44d7bcd850
commit 5a11592ee6

@ -14,9 +14,10 @@ steps:
- 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/"
- git fetch --tags
- npm i -g standard-version - npm i -g standard-version
- standard-version - 'standard-version --releaseCommitMessageFormat "chore(release): {{currentTag}} [CI SKIP]"'
- git push --follow-tags --set-upstream origin main - git push --follow-tags origin main
trigger: trigger:
branch: branch:

Loading…
Cancel
Save