Skip to content

Commit 2e438af

Browse files
committed
ci: add GitHub Actions release workflow with auto release notes
1 parent ffdd10c commit 2e438af

File tree

2 files changed

+85
-0
lines changed

2 files changed

+85
-0
lines changed

.github/release.yml

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
changelog:
2+
exclude:
3+
labels:
4+
- skip-changelog
5+
categories:
6+
- title: '🚀 Features'
7+
labels:
8+
- feature
9+
- feat
10+
- enhancement
11+
- title: '🐛 Bug Fixes'
12+
labels:
13+
- bug
14+
- fix
15+
- bugfix
16+
- title: '⚡ Performance'
17+
labels:
18+
- performance
19+
- perf
20+
- title: '🛠️ Maintenance'
21+
labels:
22+
- chore
23+
- refactor
24+
- maintenance
25+
- title: '📖 Documentation'
26+
labels:
27+
- documentation
28+
- docs
29+
- title: '🔒 Security'
30+
labels:
31+
- security
32+
- title: '⬆️ Dependencies'
33+
labels:
34+
- dependencies
35+
- deps
36+
- title: '🏗️ Other Changes'

.github/workflows/release.yml

Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
name: Release
2+
3+
on:
4+
push:
5+
tags:
6+
- 'v*'
7+
8+
jobs:
9+
release:
10+
name: Build & Release (Windows)
11+
runs-on: windows-latest
12+
permissions:
13+
contents: write
14+
15+
steps:
16+
- name: Checkout
17+
uses: actions/checkout@v4
18+
with:
19+
fetch-depth: 0
20+
21+
- name: Set up Bun
22+
uses: oven-sh/setup-bun@v2
23+
24+
- name: Install frontend dependencies
25+
run: bun install
26+
27+
- name: Set up Rust (stable)
28+
uses: dtolnay/rust-toolchain@stable
29+
30+
- name: Cache Rust build
31+
uses: swatinem/rust-cache@v2
32+
with:
33+
workspaces: './src-tauri -> target'
34+
35+
- name: Build & publish Tauri release
36+
uses: tauri-apps/tauri-action@v0
37+
env:
38+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
39+
with:
40+
tagName: ${{ github.ref_name }}
41+
releaseName: '⚡ Process Manager ${{ github.ref_name }}'
42+
releaseBody: |
43+
## What's Changed
44+
45+
See the full changelog below, auto-generated from commits since the last release.
46+
releaseDraft: false
47+
prerelease: false
48+
generateReleaseNotes: true
49+
includeUpdaterJson: false

0 commit comments

Comments
 (0)