Goal
ใช้งาน Semantic Release สำหรับ automated version management และ package publishing
Scope
ใช้สำหรับ:
- Automated version management
- Semantic versioning อัตโนมัติ
- Automated changelog generation
- Package publishing ไปยัง bun, GitHub, GitLab
Execute
1. Install Semantic Release
ติดตั้ง Semantic Release:
bun add -D semantic-release
2. Run Semantic Release
รัน semantic-release:
bunx semantic-release
3. Dry Run
Dry run:
bunx semantic-release --dry-run
4. Debug Mode
Debug mode:
DEBUG=semantic-release:* bunx semantic-release
Rules
- ใช้
bun add -D semantic-releaseสำหรับติดตั้ง - ใช้
bunx semantic-releaseสำหรับรัน - ใช้
--dry-runสำหรับ dry run - ใช้ conventional commits สำหรับ version bump
Expected Outcome
- Version management ที่ automated
- Semantic versioning ที่ consistent
- Changelog generation ที่ automated