diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml index ebf9b9f214..8fa2a850ae 100644 --- a/.github/workflows/cd.yml +++ b/.github/workflows/cd.yml @@ -132,6 +132,12 @@ jobs: prerelease: true token: ${{ secrets.GITHUB_TOKEN }} + - name: 📤 Upload artifact siyuan_desc_mapping.json + uses: actions/upload-artifact@v4 + with: + name: siyuan_desc_mapping.json + path: siyuan_desc_mapping.json + build: runs-on: ${{ matrix.config.os }} name: ${{ matrix.config.name }} diff --git a/.vscode/extensions/Sillot/package.json b/.vscode/extensions/Sillot/package.json index b40aa2be2f..f2c16fbb90 100644 --- a/.vscode/extensions/Sillot/package.json +++ b/.vscode/extensions/Sillot/package.json @@ -2,7 +2,7 @@ "name": "sillot", "displayName": "汐洛 Sillot", "description": "汐洛彖夲肜矩阵(Sillot T☳Converbenk Matrix)为智慧新彖务服务。此插件为汐洛官方插件,提供多功能一体化集成。", - "version": "0.35.24072020-dev2", + "version": "0.35.24072020-dev3", "preview": true, "repository": "https://github.com/Hi-Windom/Sillot", "publisher": "Hi-Windom", diff --git a/app/package.json b/app/package.json index b9f742f800..77e21b6cb9 100644 --- a/app/package.json +++ b/app/package.json @@ -1,6 +1,6 @@ { "name": "sillot", - "version": "0.35.24072020-dev2", + "version": "0.35.24072020-dev3", "syv": "3.1.2", "sypv": "[3.0.16, 3.0.17, 3.1.0, 3.1.1]", "description": "Build Your Eternal Digital Garden", diff --git a/docs/starlight/package.json b/docs/starlight/package.json index c20ba241b5..f189af1673 100644 --- a/docs/starlight/package.json +++ b/docs/starlight/package.json @@ -1,7 +1,7 @@ { "name": "starlight", "type": "module", - "version": "0.35.24072020-dev2", + "version": "0.35.24072020-dev3", "scripts": { "test": "echo 'Test your sister day by day'", "dev": "astro dev", diff --git a/package.json b/package.json index bf5d70a316..3a6d504c79 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "Sillot-workspace", - "version": "0.35.24072020-dev2", + "version": "0.35.24072020-dev3", "description": "汐洛 pnpm 工作区", "packageManager": "pnpm@9.5.0", "scripts": { diff --git a/scripts/parse-changelog.py b/scripts/parse-changelog.py index 3b761f7820..8115b785ca 100644 --- a/scripts/parse-changelog.py +++ b/scripts/parse-changelog.py @@ -1,3 +1,4 @@ +import json import os import re, ast from argparse import ArgumentParser @@ -35,6 +36,13 @@ def generate_msg_from_repo(repo_name, tag_name, otherReleaseArray): ) U.generate_msg(desc_mapping, C.docmap_siyuan) + # 将desc_mapping转换为JSON格式并写入文件 + filename = "siyuan_desc_mapping.json" + with open(filename, 'w') as file: + json.dump(desc_mapping, file, indent=4) + + # 文件已经准备好上传,接下来的步骤将在GitHub Actions工作流文件中执行 + if __name__ == "__main__": parser = ArgumentParser( description="Automaticly generate information from issues by tag."