diff --git a/CHANGELOG.md b/CHANGELOG.md index 23ff2e5..328e2d2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,17 +1,13 @@ # Changelog -## [0.10.0](https://github.com/terwer/sy-post-publisher/compare/v0.9.0...v0.10.0) (2023-08-01) -### Features -* 插件挂件源码合并 https://github.com/terwer/sy-post-publisher/issues/89 https://github.com/terwer/siyuan-plugin-publisher/issues/522 ([c18023f](https://github.com/terwer/siyuan-plugin-publisher/commit/c18023f3c9c9a649e1d08a84d89673d29b2a29db)) +## [1.1.1](https://github.com/terwer/siyuan-plugin-publisher/compare/v1.1.0...v1.1.1) (2023-08-01) ### Bug Fixes -* [#83](https://github.com/terwer/siyuan-plugin-publisher/issues/83) 多平台分发需要考虑同步更新思源笔记 ([103203d](https://github.com/terwer/siyuan-plugin-publisher/commit/103203d3ad867991f0d86909fcb82bcc2f0cd7ad)) -* 修复发布更新状态判断错误的问题 ([cbc271e](https://github.com/terwer/sy-post-publisher/commit/cbc271ee793bb2bfd052ec6971b07b71abd9876f)) * 修改构建错误 ([0681ebd](https://github.com/terwer/siyuan-plugin-publisher/commit/0681ebd97572f2b6651a37c60e67669b8f9c563b)) -### Miscellaneous -* sync repo v1.1.1 ([23b0c85](https://github.com/terwer/sy-post-publisher/commit/23b0c852aae9e7981b8d3cd3ec53b061c975064f)) -## [1.1.1](https://github.com/terwer/siyuan-plugin-publisher/compare/v1.1.0...v1.1.1) (2023-08-01) ## [1.1.0](https://github.com/terwer/siyuan-plugin-publisher/compare/v1.0.0...v1.1.0) (2023-08-01) +### Features +* [#83](https://github.com/terwer/siyuan-plugin-publisher/issues/83) 多平台分发需要考虑同步更新思源笔记 ([103203d](https://github.com/terwer/siyuan-plugin-publisher/commit/103203d3ad867991f0d86909fcb82bcc2f0cd7ad)) * 仓库同步 ([7960387](https://github.com/terwer/siyuan-plugin-publisher/commit/7960387d1d11216d5bd072db4d26735cf277f048)) +* 插件挂件源码合并 https://github.com/terwer/sy-post-publisher/issues/89 https://github.com/terwer/siyuan-plugin-publisher/issues/522 ([c18023f](https://github.com/terwer/siyuan-plugin-publisher/commit/c18023f3c9c9a649e1d08a84d89673d29b2a29db)) * 整合挂件功能 ([61c83c7](https://github.com/terwer/siyuan-plugin-publisher/commit/61c83c756c965235eed576a3c6f4e75cee3972f9)) * 新增扩展菜单 ([6fb007d](https://github.com/terwer/siyuan-plugin-publisher/commit/6fb007df7b04ee212065eb2135903e01a2ab5637)) * 修复 cross-fetch 版本问题,必须使用 cross-fetch 3 ([69b33dc](https://github.com/terwer/siyuan-plugin-publisher/commit/69b33dca0f04da05113dab530e03b23d1082c2b8)) @@ -21,6 +17,7 @@ * 修复语雀编辑文章可能出错的问题 ([44261c9](https://github.com/terwer/siyuan-plugin-publisher/commit/44261c93fe776836ffa936b32725ae9748527f19)) * 修复语雀预览链接错误问题 ([b9620cb](https://github.com/terwer/siyuan-plugin-publisher/commit/b9620cb10b12d1a39d24cc47d06ed81f232f2013)) * 还原 cross-fetch ([7b26de0](https://github.com/terwer/siyuan-plugin-publisher/commit/7b26de09487866843a1cbca3c9695183cb22e7a9)) +### Miscellaneous * 优化代码构建 ([123a2d2](https://github.com/terwer/siyuan-plugin-publisher/commit/123a2d2013adb19fbfe7a24fbf42893e8fc361f7)) ## [1.0.0](https://github.com/terwer/siyuan-plugin-publisher/compare/v0.8.0...v1.0.0) (2023-07-31) ### ⚠ BREAKING CHANGES diff --git a/package.json b/package.json index 02497e1..331b090 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "siyuan-plugin-publisher", - "version": "0.10.0", + "version": "1.1.1", "description": "Publishing articles from siyuan-note to platforms such as Yuque, Cnblogs, WordPress, Typecho, Hexo, Hugo and more", "repository": "terwer/siyuan-plugin-publisher", "homepage": "https://github.com/terwer/siyuan-plugin-publisher", @@ -9,7 +9,7 @@ "scripts": { "serve": "python scripts/serve.py", "dev": "python scripts/dev.py", - "build": "pnpm pluginBuild && pnpm siyuanBuild", + "build": "python scripts/build.py", "pluginBuild": "python scripts/plugin_build.py", "siyuanBuild": "python scripts/siyuan_build.py", "vercelBuild": "python3 scripts/vercel_build.py", diff --git a/plugin.json b/plugin.json index c780aea..d143902 100644 --- a/plugin.json +++ b/plugin.json @@ -2,7 +2,7 @@ "name": "siyuan-plugin-publisher", "author": "terwer", "url": "https://github.com/terwer/siyuan-plugin-publisher", - "version": "0.10.0", + "version": "1.1.1", "minAppVersion": "2.9.0", "backends": [ "windows", diff --git a/scripts/plugin_build.py b/scripts/plugin_build.py index 9f599ad..b7dd824 100644 --- a/scripts/plugin_build.py +++ b/scripts/plugin_build.py @@ -36,19 +36,3 @@ print(os.getcwd()) os.system("zhi-build --production") - dist_folder = "./dist" - data = scriptutils.read_json_file(cwd + "package.json") - v = data["version"] - - src_folder = dist_folder - tmp_folder_name = "./siyuan-plugin-publisher" - build_zip_path = "./build" - build_zip_name = "siyuan-plugin-publisher-" + v + ".zip" - - try: - # 压缩dist为zip - scriptutils.zip_folder(src_folder, tmp_folder_name, build_zip_path, build_zip_name) - scriptutils.cp_file(os.path.join(build_zip_path, build_zip_name), os.path.join(build_zip_path, "package.zip")) - except Exception as e: - print(f"打包错误,{str(e)}") - print("插件打包完毕.") diff --git a/src/extensions/manifest.json b/src/extensions/manifest.json index 5e5e3a6..30c7a3d 100644 --- a/src/extensions/manifest.json +++ b/src/extensions/manifest.json @@ -1,6 +1,6 @@ { "name": "思源笔记发布辅助工具", - "version": "0.10.0", + "version": "1.1.1", "manifest_version": 3, "author": "terwer", "icons": { diff --git a/src/extensions/mv2/manifest-v2-for-firefox.json b/src/extensions/mv2/manifest-v2-for-firefox.json index 7190ab7..4fbdae9 100644 --- a/src/extensions/mv2/manifest-v2-for-firefox.json +++ b/src/extensions/mv2/manifest-v2-for-firefox.json @@ -1,6 +1,6 @@ { "name": "开发版 - 思源笔记发布辅助工具", - "version": "0.10.0", + "version": "1.1.1", "manifest_version": 2, "author": "terwer", "icons": { diff --git a/widget.json b/widget.json index 7767e31..80e189b 100644 --- a/widget.json +++ b/widget.json @@ -2,7 +2,7 @@ "name": "sy-post-publisher", "author": "terwer", "url": "https://github.com/terwer/sy-post-publisher", - "version": "0.10.0", + "version": "1.1.1", "minAppVersion": "2.9.0", "backends": [ "windows",