-
Notifications
You must be signed in to change notification settings - Fork 1
34 lines (27 loc) · 1 KB
/
release.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
name: Release Tag
on:
push:
branches:
- main # main branch로 push될 때 아래 action이 실행됩니다.
jobs:
build:
runs-on: ubuntu-latest
steps:
# 깃헙 코드 내려받기
- uses: actions/checkout@v2
# 태그 생성
- name: Bump version and push tag
id: tag_version
uses: mathieudutour/[email protected] # 가져다 쓸 auto tagging 프로그램
with:
github_token: ${{ secrets.GITHUB_TOKEN }} # secrets.GITHUB_TOKEN 는 자동생성됨
# 릴리즈 생성
- name: Create Release
id: create_release
uses: actions/create-release@v1 # 가져다 쓸 create release 프로그램
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # secrets.GITHUB_TOKEN 는 자동생성됨
with:
tag_name: ${{ steps.tag_version.outputs.new_tag }}
release_name: Release ${{ steps.tag_version.outputs.new_tag }}
body: ${{ steps.tag_version.outputs.changelog }}