Skip to content

Commit d855f10

Browse files
authored
Merge pull request #3 from JeroCaller/develop
Develop
2 parents 8902472 + 4a59de1 commit d855f10

File tree

2 files changed

+34
-1
lines changed

2 files changed

+34
-1
lines changed
Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
name: Release versioning
2+
on:
3+
push:
4+
branches:
5+
- main
6+
jobs:
7+
build:
8+
name: Automation of Github release
9+
runs-on: ubuntu-latest
10+
permissions:
11+
contents: write
12+
id-token: write
13+
14+
steps:
15+
- uses: actions/checkout@v4
16+
- name: Bump version and push tag
17+
id: tag_version
18+
uses: mathieudutour/[email protected]
19+
with:
20+
github_token: ${{ secrets.GITHUB_TOKEN }}
21+
default_bump: false # 미리 정의된 commit type이 아닐 경우 자동 버전업 방지
22+
custom_release_rules: 'BREAKING CHANGE:major,feat:minor,fix:patch,docs:patch,refactor:patch,test:patch,style:patch,chore:patch'
23+
- name: Create a GitHub release
24+
uses: ncipollo/release-action@v1
25+
with:
26+
tag: ${{ steps.tag_version.outputs.new_tag }}
27+
name: Release ${{ steps.tag_version.outputs.new_tag }}
28+
body: ${{ steps.tag_version.outputs.changelog }}
29+
- name: Log created release info
30+
run: |
31+
echo "Release Type : ${{ steps.tag_version.outputs.release_type }}"
32+
echo "Previous Tag : ${{ steps.tag_version.outputs.previous_tag }}"
33+
echo "New Tag: ${{ steps.tag_version.outputs.new_tag }}"
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
# https://www.robotstxt.org/robotstxt.html
22
User-agent: *
3-
Disallow:
3+
Disallow: /

0 commit comments

Comments
 (0)