Skip to content

Commit

Permalink
[#288] feat: 릴리즈 태그 자동화 구현
Browse files Browse the repository at this point in the history
  • Loading branch information
hoonyworld committed Dec 5, 2024
1 parent 702d791 commit cd08ba0
Show file tree
Hide file tree
Showing 2 changed files with 54 additions and 0 deletions.
40 changes: 40 additions & 0 deletions .github/release-drafter-config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
name-template: 'v$RESOLVED_VERSION 🌈'
tag-template: 'v$RESOLVED_VERSION'
categories:
- title: '🎯 새로운 기능이 추가되었어요'
labels: ['feat 🎯']
- title: '🛠️ 기존 버그가 수정되었어요'
labels:
- 'fix 🛠️'
- 'HOTFIX 🚑'
- title: '🐬 코드를 개선했어요'
labels:
- 'refactor 🔁'
- 'test 🧪'
- 'chore 🔍'
- title: '⚙️ 프로젝트를 개선했어요'
labels:
- 'rename 📛'
- 'remove 👻'
- 'docs ✍🏻'
- title: '🚀 배포'
labels:
- 'deploy 🚀'

change-template: '- $TITLE #$NUMBER @$AUTHOR '
template: |
## 이번 버전의 변경사항은 아래와 같아요
---
$CHANGES
no-changes-template: '변경사항이 없어요'
version-resolver:
major:
labels:
- '1️⃣ major'
minor:
labels:
- '2️⃣ minor'
patch:
labels:
- '3️⃣ patch'
default: patch
14 changes: 14 additions & 0 deletions .github/workflows/release-drafter.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
name: Release Drafter
on:
push:
branches:
- main
jobs:
update_release_draft:
runs-on: ubuntu-latest
steps:
- uses: release-drafter/release-drafter@v6
with:
config-name: release-drafter-config.yml
env:
GITHUB_TOKEN: ${{ secrets.ACTION_TOKEN }}

0 comments on commit cd08ba0

Please sign in to comment.