v1.3.0 (#828) #16
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 }} |