Skip to content

An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作

:bookmark: Release v3.7.2-alpha.1

Danielbce329414e40
diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml
index 149c1a6e86..a094e8bf4c 100644
--- a/.github/workflows/cd.yml
+++ b/.github/workflows/cd.yml
@@ -43,6 +43,19 @@ jobs:
run: |
echo "value=$(jq .version ${{ env.package_json }} -r)" >> $GITHUB_OUTPUT
+ - name: Verify tag matches package.json version
+ # 仅 tag 推送触发时校验:去掉 tag 前导 v 后与 package.json 中的版本号比对,
+ # 不一致说明开发者推 tag 前忘记同步版本号,直接终止整个 workflow。
+ if: startsWith(github.ref, 'refs/tags/')
+ run: |
+ TAG="${GITHUB_REF_NAME#v}"
+ VERSION="${{ steps.version.outputs.value }}"
+ if [ "$TAG" != "$VERSION" ]; then
+ echo "Tag (v$TAG) does not match version in package.json ($VERSION), stopping"
+ exit 1
+ fi
+ echo "Tag matches version: $TAG"
+
- name: Extract electronVersion from package.json
id: electronVersion
run: |
diff --git a/app/package.json b/app/package.json
index c78fa1a4eb..83d29bce39 100644
--- a/app/package.json
+++ b/app/package.json
@@ -1,7 +1,7 @@
{
"name": "SiYuan",
"desktopName": "org.b3log.siyuan",
- "version": "3.7.1",
+ "version": "3.7.2-alpha.1",
"description": "Refactor your thinking",
"homepage": "https://b3log.org/siyuan",
"main": "./electron/main.js",
diff --git a/kernel/util/working.go b/kernel/util/working.go
index 5d8f9f99f6..db7e256f66 100644
--- a/kernel/util/working.go
+++ b/kernel/util/working.go
@@ -45,7 +45,7 @@ import (
var Mode = "prod"
const (
- Ver = "3.7.1"
+ Ver = "3.7.2-alpha.1"
IsInsider = false
)