From 5a11592ee6301164fba8fdfa1c6beaaaee5264a4 Mon Sep 17 00:00:00 2001 From: RaviAnand Mohabir Date: Thu, 12 Oct 2023 23:34:18 +0200 Subject: [PATCH] ci: :green_heart: fetch tags in ci --- .drone.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.drone.yml b/.drone.yml index 544c128..fb84de4 100644 --- a/.drone.yml +++ b/.drone.yml @@ -14,9 +14,10 @@ steps: - git config --global user.email "moravrav@gmail.com" - 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 fetch --tags - npm i -g standard-version - - standard-version - - git push --follow-tags --set-upstream origin main + - 'standard-version --releaseCommitMessageFormat "chore(release): {{currentTag}} [CI SKIP]"' + - git push --follow-tags origin main trigger: branch: