Skip to content

Commit

Permalink
[ALL] chore: 릴리즈 노트 워크플로우 작성 (#411)
Browse files Browse the repository at this point in the history
  • Loading branch information
Leejin-Yang authored Aug 12, 2023
1 parent d96bb60 commit 7be8a27
Show file tree
Hide file tree
Showing 2 changed files with 53 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .github/release-drafter.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name-template: 'v$RESOLVED_VERSION'
tag-template: 'v$RESOLVED_VERSION'
template: |
# What's Changed
$CHANGES
**Full Changelog**: https://github.com/$OWNER/$REPOSITORY/compare/$PREVIOUS_TAG...v$RESOLVED_VERSION
categories:
- title: '🔑 FE'
labels:
- '🔑 FE'
- title: '🔒 BE'
labels:
- '🔒 BE'
change-template: '- $TITLE @$AUTHOR (#$NUMBER)'
36 changes: 36 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
name: 릴리즈 노트 작성

on:
push:
branches:
- main
tags:
- v*.*.*

jobs:
build:
runs-on: ubuntu-latest

steps:
- name: 저장소 가져오기
uses: actions/checkout@v3
with:
fetch-depth: 0

- name: 버전 가져오기
id: version
run: |
tag=${GITHUB_REF/refs\/tags\//}
version=${tag#v}
major=${version%%.*}
echo "tag=${tag}" >> $GITHUB_OUTPUT
echo "version=${version}" >> $GITHUB_OUTPUT
echo "major=${major}" >> $GITHUB_OUTPUT
- name: 릴리즈 노트 작성
uses: release-drafter/release-drafter@master
with:
version: ${{ steps.version.outputs.version }}
publish: true
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 7be8a27

Please sign in to comment.