From 0b56add84424a953d887a2f7380c88a232f19207 Mon Sep 17 00:00:00 2001 From: Shivam Mishra Date: Wed, 11 Jun 2025 18:28:04 +0530 Subject: [PATCH] fix: version --- scripts/publish-react-components.js | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/scripts/publish-react-components.js b/scripts/publish-react-components.js index 8efd04792..a44857ace 100644 --- a/scripts/publish-react-components.js +++ b/scripts/publish-react-components.js @@ -90,15 +90,7 @@ function generatePackageJson(packageDir) { stdio: 'pipe', }).trim(); - // Check if we're in a clean working directory - const isClean = - execSync('git status --porcelain', { - encoding: 'utf8', - stdio: 'pipe', - }).trim() === ''; - - // Use git hash for development, beta for clean builds - return isClean ? 'beta.1' : `dev.${gitHash}`; + return `dev.${gitHash}`; } catch (error) { console.warn(' ⚠️ Could not get git hash, using beta.1'); return 'beta.1';