Skip to content

Commit 73901e6

Browse files
committed
Add Github release config
1 parent 651e0d4 commit 73901e6

File tree

2 files changed

+46
-0
lines changed

2 files changed

+46
-0
lines changed

.github/release.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
changelog:
2+
exclude:
3+
labels:
4+
- ignore-for-release
5+
- dependencies
6+
authors:
7+
- dependabot[bot]
8+
categories:
9+
- title: 🚀 New Features
10+
labels:
11+
- enhancement
12+
- feature
13+
- title: 🐛 Bug Fixes
14+
labels:
15+
- bug
16+
- fix
17+
- title: 📚 Documentation
18+
labels:
19+
- documentation
20+
- title: 🔧 Other Changes
21+
labels:
22+
- "*"

.github/workflows/release.yml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: Release
2+
3+
on:
4+
push:
5+
tags:
6+
- 'v*'
7+
8+
jobs:
9+
release:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- uses: actions/checkout@v4
13+
14+
- name: Create Release with Auto-Generated Notes
15+
uses: actions/create-release@v1
16+
env:
17+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
18+
with:
19+
tag_name: ${{ github.ref }}
20+
release_name: Release ${{ github.ref }}
21+
body: ${{ steps.release_notes.outputs.body }}
22+
draft: false
23+
prerelease: false
24+
generate_release_notes: true

0 commit comments

Comments
 (0)