Skip to content

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