Skip to content

Commit f7a8c0e

Browse files
jhlee0409claude
andcommitted
docs: add pre-release checklist to prevent build failures
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent ebc52da commit f7a8c0e

File tree

1 file changed

+25
-4
lines changed

1 file changed

+25
-4
lines changed

CLAUDE.md

Lines changed: 25 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -79,17 +79,38 @@ just sync-version
7979

8080
### Release Process
8181

82+
**⚠️ 중요: 릴리즈 전 필수 체크리스트**
83+
84+
커밋/푸시 전에 반드시 다음을 확인:
85+
86+
```bash
87+
# 1. TypeScript 빌드 체크 (CI와 동일한 옵션)
88+
pnpm tsc --build .
89+
90+
# 2. 테스트 실행
91+
pnpm test run
92+
93+
# 3. 린트 체크 (선택사항, 에러만 확인)
94+
pnpm lint
95+
```
96+
97+
**모든 체크가 통과한 후에만 커밋/푸시 진행!**
98+
8299
```bash
83100
# 1. 버전 업데이트
84-
npm version prerelease --preid=beta --no-git-tag-version
101+
npm version <version> --no-git-tag-version
102+
# 예: npm version 1.2.2 --no-git-tag-version
85103

86104
# 2. 버전 동기화
87105
just sync-version
88106

89-
# 3. 커밋 및 태그
107+
# 3. 최종 체크 (필수!)
108+
pnpm tsc --build . && pnpm test run
109+
110+
# 4. 커밋 및 태그
90111
git add -A
91-
git commit -m "chore: bump version to 1.0.0-beta.5"
92-
git tag v1.0.0-beta.5
112+
git commit -m "chore: release v1.2.2"
113+
git tag v1.2.2
93114
git push && git push --tags
94115
```
95116

0 commit comments

Comments
 (0)