Skip to content

v1.3.1 (#831)

v1.3.1 (#831) #18

Workflow file for this run

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 }}