From 2bac8ea67d3afa47c26e7bd85dd063ea0a7c003a Mon Sep 17 00:00:00 2001 From: Debanjan Chatterjee Date: Tue, 19 Sep 2023 18:11:02 +0530 Subject: [PATCH] ci: fix ci file Signed-off-by: Debanjan Chatterjee --- .github/workflows/draft_new_release-v2.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/draft_new_release-v2.yml b/.github/workflows/draft_new_release-v2.yml index e6d8d2f12..2cee49e96 100644 --- a/.github/workflows/draft_new_release-v2.yml +++ b/.github/workflows/draft_new_release-v2.yml @@ -40,7 +40,9 @@ jobs: source_branch_name=${GITHUB_REF##*/} release_type=release-v2 grep -q "hotfix-v2/" <<< "${GITHUB_REF}" && release_type=hotfix-release-v2 - git fetch origin master-v2 --depth=1 + git fetch origin master-v2 + git fetch --tags origin + git merge origin/master-v2 current_version=$(jq -r .version package.json)