Skip to content

Commit

Permalink
允许锚定思源笔记预发行版本 #890
Browse files Browse the repository at this point in the history
  • Loading branch information
Soltus committed Jul 21, 2024
1 parent f2b1246 commit d2c6455
Show file tree
Hide file tree
Showing 6 changed files with 18 additions and 4 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down
2 changes: 1 addition & 1 deletion .vscode/extensions/Sillot/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion app/package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
2 changes: 1 addition & 1 deletion docs/starlight/package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "Sillot-workspace",
"version": "0.35.24072020-dev2",
"version": "0.35.24072020-dev3",
"description": "汐洛 pnpm 工作区",
"packageManager": "[email protected]",
"scripts": {
Expand Down
8 changes: 8 additions & 0 deletions scripts/parse-changelog.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import json
import os
import re, ast
from argparse import ArgumentParser
Expand Down Expand Up @@ -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."
Expand Down

0 comments on commit d2c6455

Please sign in to comment.