From 207bb4a678e239a3692f92426515af239d4aef59 Mon Sep 17 00:00:00 2001
From: Felipe Cesar <felipecesr@gmail.com>
Date: Mon, 21 Oct 2024 17:12:53 -0300
Subject: [PATCH] ci: use include merged tags

---
 .github/workflows/release.yml | 3 ---
 package.json                  | 4 ++--
 2 files changed, 2 insertions(+), 5 deletions(-)

diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index 26fdfcb..8985d62 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -12,9 +12,6 @@ jobs:
 
     steps:
       - uses: actions/checkout@v4
-        with:
-          fetch-depth: 0
-      - run: git fetch --depth=1 origin +refs/tags/*:refs/tags/*
       - run: git config user.name github-actions[bot]
       - run: git config user.email 41898282+github-actions[bot]@users.noreply.github.com
 
diff --git a/package.json b/package.json
index 5ba501e..94e4b02 100644
--- a/package.json
+++ b/package.json
@@ -9,7 +9,7 @@
     "packages/*"
   ],
   "scripts": {
-    "release": "lerna publish --yes",
+    "release": "lerna publish --include-merged-tags --yes",
     "prepare": "husky"
   },
   "devDependencies": {
@@ -19,4 +19,4 @@
     "husky": "^9.1.6",
     "lerna": "^8.1.8"
   }
-}
+}
\ No newline at end of file