Skip to content

Commit 689d407

Browse files
author
b45632
committed
fix: repair draft release creation
1 parent 464eaeb commit 689d407

3 files changed

Lines changed: 47 additions & 6 deletions

File tree

.github/release.yml

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
changelog:
2+
exclude:
3+
labels:
4+
- ignore-for-release
5+
authors:
6+
- dependabot
7+
8+
categories:
9+
- title: "🚀 Neue Funktionen"
10+
labels:
11+
- feature
12+
- enhancement
13+
14+
- title: "🐛 Fehlerbehebungen"
15+
labels:
16+
- bug
17+
- fix
18+
19+
- title: "🎨 Oberfläche und Bedienung"
20+
labels:
21+
- ui
22+
- ux
23+
24+
- title: "⚙️ Technik und Wartung"
25+
labels:
26+
- ci
27+
- dependencies
28+
- maintenance
29+
- refactor
30+
31+
- title: "📚 Dokumentation"
32+
labels:
33+
- documentation
34+
35+
- title: "Weitere Änderungen"
36+
labels:
37+
- "*"

.github/workflows/ci.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@ jobs:
2626

2727
runs-on: ${{ matrix.platform }}
2828

29-
3029
steps:
3130
- name: Repository auschecken
3231
uses: actions/checkout@v7

.github/workflows/release.yml

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ permissions:
1919
contents: write
2020

2121
env:
22+
APP_DIR: apps/desktop
2223
NODE_VERSION: "24"
2324
PNPM_VERSION: "10.33.0"
2425
RELEASE_TAG: ${{ github.event_name == 'workflow_dispatch' && inputs.tag || github.ref_name }}
@@ -55,9 +56,9 @@ jobs:
5556
}
5657
5758
const expected = match[1];
58-
const packageJson = JSON.parse(fs.readFileSync('package.json', 'utf8'));
59-
const tauriConfig = JSON.parse(fs.readFileSync('src-tauri/tauri.conf.json', 'utf8'));
60-
const cargoToml = fs.readFileSync('src-tauri/Cargo.toml', 'utf8');
59+
const packageJson = JSON.parse(fs.readFileSync('apps/desktop/package.json', 'utf8'));
60+
const tauriConfig = JSON.parse(fs.readFileSync('apps/desktop/src-tauri/tauri.conf.json', 'utf8'));
61+
const cargoToml = fs.readFileSync('apps/desktop/src-tauri/Cargo.toml', 'utf8');
6162
const cargoVersion = /^version\s*=\s*"([^"]+)"/m.exec(cargoToml)?.[1];
6263
6364
const versions = {
@@ -164,6 +165,9 @@ jobs:
164165
args: "--target universal-apple-darwin"
165166
rust_targets: "aarch64-apple-darwin,x86_64-apple-darwin"
166167

168+
defaults:
169+
run:
170+
working-directory: apps/desktop
167171

168172
steps:
169173
- name: Repository und Release-Tag auschecken
@@ -184,7 +188,7 @@ jobs:
184188
with:
185189
node-version: ${{ env.NODE_VERSION }}
186190
cache: pnpm
187-
cache-dependency-path: pnpm-lock.yaml
191+
cache-dependency-path: apps/desktop/pnpm-lock.yaml
188192
package-manager-cache: false
189193

190194
- name: Rust stable einrichten
@@ -195,7 +199,7 @@ jobs:
195199
- name: Rust-Buildcache einrichten
196200
uses: swatinem/rust-cache@v2
197201
with:
198-
workspaces: src-tauri -> target
202+
workspaces: apps/desktop/src-tauri -> target
199203
shared-key: release-${{ matrix.platform }}
200204

201205
- name: Linux-Systempakete installieren
@@ -218,6 +222,7 @@ jobs:
218222
env:
219223
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
220224
with:
225+
projectPath: apps/desktop
221226
releaseId: ${{ needs.prepare-release.outputs.release_id }}
222227
tagName: ${{ env.RELEASE_TAG }}
223228
releaseDraft: true

0 commit comments

Comments
 (0)