Skip to content

Commit 1d40cd0

Browse files
committed
release: v1.0.1
1 parent 99deb1f commit 1d40cd0

12 files changed

Lines changed: 1145 additions & 81 deletions

File tree

.github/workflows/release.yml

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
name: Release
2+
3+
on:
4+
push:
5+
tags:
6+
- "v*"
7+
8+
permissions:
9+
contents: write
10+
11+
jobs:
12+
build-windows:
13+
runs-on: windows-latest
14+
env:
15+
TAURI_SIGNING_PRIVATE_KEY: ${{ secrets.TAURI_SIGNING_PRIVATE_KEY }}
16+
TAURI_SIGNING_PRIVATE_KEY_PASSWORD: ${{ secrets.TAURI_SIGNING_PRIVATE_KEY_PASSWORD }}
17+
TAURI_UPDATER_PUBKEY: ${{ secrets.TAURI_UPDATER_PUBKEY }}
18+
TAURI_UPDATER_ENDPOINT: https://github.com/${{ github.repository }}/releases/latest/download/latest.json
19+
steps:
20+
- name: Checkout
21+
uses: actions/checkout@v4
22+
23+
- name: Setup Node
24+
uses: actions/setup-node@v4
25+
with:
26+
node-version: 20
27+
cache: npm
28+
29+
- name: Setup Rust
30+
uses: dtolnay/rust-toolchain@stable
31+
32+
- name: Install frontend dependencies
33+
run: npm ci
34+
35+
- name: Build and publish release
36+
uses: tauri-apps/tauri-action@v0.6.0
37+
env:
38+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
39+
with:
40+
tagName: ${{ github.ref_name }}
41+
releaseName: DevStack ${{ github.ref_name }}
42+
releaseDraft: true
43+
prerelease: false
44+
includeUpdaterJson: true
45+
generateReleaseNotes: true

src-tauri/Cargo.lock

Lines changed: 119 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src-tauri/Cargo.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,9 @@ tokio = { version = "1.50.0", features = ["full"] }
3838
zip-extract = "0.4.1"
3939
base64 = "0.22"
4040

41+
[target.'cfg(not(any(target_os = "android", target_os = "ios")))'.dependencies]
42+
tauri-plugin-updater = "2"
43+
4144
[target.'cfg(windows)'.dependencies]
4245
windows-sys = { version = "0.59", features = [
4346
"Win32_NetworkManagement_IpHelper",

src-tauri/capabilities/default.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,11 +97,12 @@
9797
"dialog:default",
9898
"notification:default",
9999
"autostart:default",
100+
"updater:default",
100101
"core:window:allow-close",
101102
"core:window:allow-minimize",
102103
"core:window:allow-maximize",
103104
"core:window:allow-unmaximize",
104105
"core:window:allow-toggle-maximize",
105106
"core:window:allow-start-dragging"
106107
]
107-
}
108+
}

0 commit comments

Comments
 (0)