# Semantic Release

> Fully automated version management และ package publishing tool ที่ใช้ conventional commits

- Skill: `newkub/semantic-release` (Agent Skill, multi-file: 5 files)
- Install (CLI): `npx skillmds@latest add newkub/semantic-release`
- Raw SKILL.md: https://api.skillmd.com/api/skills/newkub/semantic-release/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: newkub (https://skillmd.com/u/newkub)
- Updated: 2026-09-10
- Page: https://skillmd.com/skills/newkub/semantic-release

---

## 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:
```bash
bun add -D semantic-release
```

### 2. Run Semantic Release

รัน semantic-release:
```bash
bunx semantic-release
```

### 3. Dry Run

Dry run:
```bash
bunx semantic-release --dry-run
```

### 4. Debug Mode

Debug mode:
```bash
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

