An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作
TypeScript agentic-aiai-agentknowledge-baselocal-firstmarkdownmcpmindmapnote-takingself-hostedsiyuanworkspace
:construction_worker: Improve cd
Daniel50417c67448a
diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.ymlindex c11d1816f9..f7d4f48ccc 100644--- a/.github/workflows/cd.yml+++ b/.github/workflows/cd.yml@@ -3,7 +3,7 @@ name: CD For SiYuanon:push:tags:- - '*-dev*'+ - '*-alpha*'- '*-beta*'workflow_dispatch:@@ -17,6 +17,7 @@ jobs:runs-on: ubuntu-latestoutputs:release_version: ${{ steps.release_info.outputs.release_version }}+ release_title: ${{ steps.release_info.outputs.release_title }}version: ${{ steps.version.outputs.value }}packageManager: ${{ steps.packageManager.outputs.value }}release_body: ${{ steps.release_info.outputs.release_body }}@@ -55,8 +56,8 @@ jobs:- name: Gather Release Informationid: release_inforun: |- echo "release_title=$(git show --format=%s --no-patch | head -1)" >> $GITHUB_OUTPUT- echo "release_version=$(TZ=Asia/Shanghai date +'v%Y%m%d%H%M')" >> $GITHUB_OUTPUT+ echo "release_version=${{ steps.version.outputs.value }}" >> $GITHUB_OUTPUT+ echo "release_title=SiYuan v${{ steps.version.outputs.value }}" >> $GITHUB_OUTPUTchangelog_header=$(python scripts/parse-changelog-HEAD.py -t ${{ github.ref }} -b ${{ steps.thisLatestRelease.outputs.release }} -e ${{ steps.electronVersion.outputs.value }} ${{ github.repository }})changelog=$(python scripts/parse-changelog.py -t ${{ github.ref }} ${{ github.repository }})EOF=$(dd if=/dev/urandom bs=15 count=1 status=none | base64)@@ -260,7 +261,7 @@ jobs:working-directory: ${{ github.workspace }}/go/src/github.com/${{ github.repository }}/app- name: Set up JDK- uses: actions/setup-java@v4+ uses: actions/setup-java@v5with:distribution: temurinjava-version: "21"@@ -381,7 +382,7 @@ jobs:- name: Create Releaseuses: ncipollo/release-action@v1with:- name: ${{ needs.prepare.outputs.release_version }}+ name: ${{ needs.prepare.outputs.release_title }}tag: ${{ github.ref }}body: ${{ needs.prepare.outputs.release_body }}draft: false