Skip to content

Commit 438cd90

Browse files
committed
fix: main 브랜치에서 정식 버전 배포되지 않는 문제 수정
- develop (beta 태그): 베타 버전만 배포 - main (latest 태그): 모든 버전 배포 - 베타 체크는 beta 태그로 배포할 때만 수행
1 parent 1c7b6b5 commit 438cd90

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

scripts/release-packages.cjs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,8 +71,8 @@ async function releasePackages() {
7171
const packageJson = JSON.parse(fs.readFileSync(packageJsonPath, 'utf8'));
7272
const currentVersion = packageJson.version;
7373

74-
// Skip if not a beta version (no changeset)
75-
if (!currentVersion.includes('-beta')) {
74+
// Skip non-beta versions only when publishing with beta tag
75+
if (releaseTag === 'beta' && !currentVersion.includes('-beta')) {
7676
log.info(`Skipping ${pkg.name} - no beta version (${currentVersion})`);
7777
continue;
7878
}

0 commit comments

Comments
 (0)