release
4
总安装量
4
周安装量
#54518
全站排名
安装命令
npx skills add https://github.com/roboco-io/hwp2md --skill release
Agent 安装分布
mcpjam
4
claude-code
4
replit
4
junie
4
windsurf
4
zencoder
4
Skill 文档
Release Automation Skill
ì´ ì¤í¬ì hwp2mdì ë²ì ëê³¼ 릴리ì¦ë¥¼ ìëíí©ëë¤.
ì¬ì©ë²
/release [version] [options]
ìì:
/release– ë¤ì ë²ì ìë ê²°ì ë° ë¦´ë¦¬ì¦ ì¤ë¹/release v0.2.0– í¹ì ë²ì ì¼ë¡ 릴리ì¦/release patch– í¨ì¹ ë²ì ì¦ê° (v0.1.0 â v0.1.1)/release minor– ë§ì´ë ë²ì ì¦ê° (v0.1.0 â v0.2.0)/release major– ë©ì´ì ë²ì ì¦ê° (v0.1.0 â v1.0.0)
ë¦´ë¦¬ì¦ íë¡ì¸ì¤
1. ë²ì ê²°ì
íì¬ íê·¸ íì¸:
git tag -l 'v*' --sort=-version:refname | head -5
ë²ì íì: vMAJOR.MINOR.PATCH (Semantic Versioning)
ë²ì ì¦ê° 기ì¤:
- MAJOR: íì í¸íì±ì´ 깨ì§ë ë³ê²½
- MINOR: ìë¡ì´ ê¸°ë¥ ì¶ê° (íì í¸í)
- PATCH: ë²ê·¸ ìì , 문ì ìì
2. ë³ê²½ì¬í ë¶ì
ë§ì§ë§ íê·¸ ì´í ì»¤ë° ë¶ì:
# ë§ì§ë§ íê·¸ 찾기
LAST_TAG=$(git describe --tags --abbrev=0 2>/dev/null || echo "")
# ì»¤ë° ë¡ê·¸ (íê·¸ ì´í ëë ì ì²´)
if [ -n "$LAST_TAG" ]; then
git log $LAST_TAG..HEAD --oneline
else
git log --oneline
fi
3. ë¦´ë¦¬ì¦ íê·¸ ìì±
# íê·¸ ìì± (annotated tag)
git tag -a v0.2.0 -m "Release v0.2.0
주ì ë³ê²½ì¬í:
- ê¸°ë¥ 1
- ê¸°ë¥ 2
- ë²ê·¸ ìì
"
# ì격ì í¸ì
git push origin v0.2.0
4. GitHub Release
goreleaser를 ì¬ì©í 릴리ì¦:
# ë¡ì»¬ í
ì¤í¸ (ì¤ì ë¦´ë¦¬ì¦ ìì´)
goreleaser release --snapshot --clean
# ì¤ì ë¦´ë¦¬ì¦ (CIìì ìë ì¤í)
goreleaser release --clean
ë¦´ë¦¬ì¦ ì²´í¬ë¦¬ì¤í¸
ë¦´ë¦¬ì¦ ì íì¸ì¬í:
- 모ë í
ì¤í¸ íµê³¼ (
make test) - ë¦°í¸ ê²ì¬ íµê³¼ (
make lint) - README.md ë²ì ì ë³´ íì¸
- main ë¸ëì¹ì 모ë ë³ê²½ì¬í ë³í©
- ì´ì ë¦´ë¦¬ì¦ ì´í breaking change íì¸
ìì: ì ì²´ ë¦´ë¦¬ì¦ ìí¬íë¡ì°
# 1. íì¬ ìí íì¸
git status
make test
# 2. ë§ì§ë§ íê·¸ íì¸
git describe --tags --abbrev=0
# 3. ë³ê²½ì¬í íì¸
git log $(git describe --tags --abbrev=0)..HEAD --oneline
# 4. íê·¸ ìì± ë° í¸ì
git tag -a v0.2.0 -m "Release v0.2.0"
git push origin main
git push origin v0.2.0
# 5. GitHub Actionsê° ìëì¼ë¡ goreleaser ì¤í
GitHub Actions ìë 릴리ì¦
í그를 í¸ìíë©´ GitHub Actionsê° ìëì¼ë¡ 릴리ì¦ë¥¼ ìì±í©ëë¤.
ìí¬íë¡ì° (.github/workflows/release.yml)
v*íê·¸ í¸ì ì í¸ë¦¬ê±°- goreleaserê° ìë ì¤í
- í¬ë¡ì¤ íë«í¼ ë°ì´ë리 ë¹ë (Linux, macOS, Windows)
- GitHub Release íì´ì§ì ìë ê²ì
- ë¦´ë¦¬ì¦ ë ¸í¸ ìë ìì± (ì»¤ë° ë©ìì§ ê¸°ë°)
ë¦´ë¦¬ì¦ ë ¸í¸ êµ¬ì¡°
goreleaserê° ì»¤ë° ë©ìì§ë¥¼ ë¶ìíì¬ ì¹´í ê³ ë¦¬ë³ë¡ ì 리:
- New Features: Add, Implement, Create, feat ì ëì¬
- Bug Fixes: Fix, Resolve, Correct ì ëì¬
- Improvements: Update, Change, Refactor, Improve ì ëì¬
- Documentation: docs ì ëì¬
ë¦´ë¦¬ì¦ ì¤í ë°©ë²
# 1. íê·¸ ìì±
git tag -a v0.2.0 -m "Release v0.2.0"
# 2. mainê³¼ íê·¸ í¸ì
git push origin main
git push origin v0.2.0
# 3. GitHub Actionsê° ìëì¼ë¡:
# - ë°ì´ë리 ë¹ë
# - ë¦´ë¦¬ì¦ íì´ì§ ìì±
# - ë¦´ë¦¬ì¦ ë
¸í¸ ìì±
ë¦´ë¦¬ì¦ íì´ì§ ë´ì©
ìë ìì±ëë ë¦´ë¦¬ì¦ íì´ì§:
- ì¤ì¹ ë°©ë² (ë°ì´ë리 ë¤ì´ë¡ë, go install)
- 주ì ê¸°ë¥ ìê°
- ë³ê²½ ë´ì (ì»¤ë° ê¸°ë°)
- ì ì²´ ë³ê²½ ë¡ê·¸ ë§í¬
- íë«í¼ë³ ë°ì´ë리 ë¤ì´ë¡ë
ê¸´ê¸ í¨ì¹ 릴리ì¦
í«í½ì¤ê° íìí ê²½ì°:
# 1. í«í½ì¤ ë¸ëì¹ ìì±
git checkout -b hotfix/v0.1.1 v0.1.0
# 2. ìì ì ì©
# ... ì½ë ìì ...
# 3. ì»¤ë° ë° íê·¸
git commit -m "Fix: Critical bug description"
git tag -a v0.1.1 -m "Hotfix release v0.1.1"
# 4. mainì ë³í© ë° í¸ì
git checkout main
git merge hotfix/v0.1.1
git push origin main
git push origin v0.1.1