Skip to content

Commit fa8aa57

Browse files
committed
release: v0.25.2
1 parent 1226f17 commit fa8aa57

File tree

5 files changed

+28
-11
lines changed

5 files changed

+28
-11
lines changed

.github/workflows/release.yml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ on:
77

88
jobs:
99
build-android:
10+
outputs:
11+
appVersion: ${{ steps.get_version.outputs.version }}
1012
runs-on: ubuntu-latest
1113
permissions:
1214
contents: write
@@ -197,6 +199,28 @@ jobs:
197199
run: |
198200
rm -f src-tauri/android-release.keystore
199201
202+
upgradeLink-upload-android:
203+
needs: build-android
204+
permissions:
205+
contents: write
206+
runs-on: ubuntu-latest
207+
steps:
208+
- name: Send Android APK to UpgradeLink
209+
uses: toolsetlink/upgradelink-action@3.0.2
210+
with:
211+
access_key: ${{ secrets.UPGRADE_LINK_ACCESS_KEY }}
212+
access_secret: ${{ secrets.UPGRADE_LINK_ACCESS_SECRET }}
213+
config: |
214+
{
215+
"app_type": "file",
216+
"request": {
217+
"app_key": "${{ secrets.UPGRADE_LINK_ANDROID_APP_KEY }}",
218+
"version": "${{ needs.build-android.outputs.appVersion }}",
219+
"url": "https://github.com/${{ github.repository }}/releases/download/note-gen-v${{ needs.build-android.outputs.appVersion }}/NoteGen_${{ needs.build-android.outputs.appVersion }}_android-universal.apk",
220+
"prompt_upgrade_content": "新版本已发布,包含重要功能更新和 bug 修复"
221+
}
222+
}
223+
200224
publish-tauri:
201225
outputs:
202226
appVersion: ${{ steps.set_output.outputs.appVersion }}

src-tauri/tauri.conf.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"$schema": "https://schema.tauri.app/config/2",
33
"productName": "NoteGen",
4-
"version": "0.25.1",
4+
"version": "0.25.2",
55
"identifier": "com.codexu.NoteGen",
66
"build": {
77
"beforeDevCommand": "pnpm dev",
@@ -45,7 +45,7 @@
4545
"icons/icon.ico"
4646
],
4747
"iOS": {
48-
"bundleVersion": "0.25.1",
48+
"bundleVersion": "0.25.2",
4949
"developmentTeam": "RGZC4ZTJMU"
5050
},
5151
"macOS": {

src/app/core/record/mark/todo-edit-dialog.tsx

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,6 @@ import { Label } from "@/components/ui/label"
1212
import { Input } from "@/components/ui/input"
1313
import { Textarea } from "@/components/ui/textarea"
1414
import { Button } from "@/components/ui/button"
15-
import {
16-
Select,
17-
SelectContent,
18-
SelectItem,
19-
SelectTrigger,
20-
SelectValue,
21-
} from "@/components/ui/select"
2215
import { Tabs, TabsList, TabsTrigger } from "@/components/ui/tabs"
2316
import { useState, useEffect } from "react"
2417
import { updateMark } from "@/db/marks"

src/components/ui/expandable-tabs.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ const spanVariants = {
4747
exit: { width: 0, opacity: 0 },
4848
};
4949

50-
const transition = { delay: 0.1, type: "spring", bounce: 0, duration: 0.6 };
50+
const transition = { delay: 0.1, type: "spring" as const, bounce: 0, duration: 0.6 };
5151

5252
export function ExpandableTabs({
5353
tabs,

src/stores/setting.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -489,7 +489,7 @@ const useSettingStore = create<SettingState>((set, get) => ({
489489
await store.set(key, mergedConfig)
490490
set({ [key]: mergedConfig })
491491
} else {
492-
set({ [key]: res })
492+
set({ [key]: res as RecordToolbarItem[] })
493493
}
494494
} else if (key !== 'aiModelList') {
495495
set({ [key]: res })

0 commit comments

Comments
 (0)