From 8242dbf2c9d1f7a3a23d251a413f3e6cf84d3339 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Wed, 14 Jun 2023 18:04:44 +0000 Subject: [PATCH 1/3] chore(main): release 1.0.0 --- CHANGELOG.md | 47 +++++++++++++++++++++++++++++++++++++++++++++++ package.json | 2 +- 2 files changed, 48 insertions(+), 1 deletion(-) create mode 100644 CHANGELOG.md diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 00000000..c74f1a4d --- /dev/null +++ b/CHANGELOG.md @@ -0,0 +1,47 @@ +# Changelog + +## 1.0.0 (2023-06-14) + + +### Features + +* PicGO 插件第一版 ([29ff64b](https://github.com/terwer/siyuan-plugin-picgo/commit/29ff64be644e6f2dcdb0d77f2c48d741ef60ac28)) +* PicGO 插件第一版 ([7a46ac2](https://github.com/terwer/siyuan-plugin-picgo/commit/7a46ac26f70ae7feb4bc0e32c3fa061dddb8b12f)) +* PicGO 插件第一版 ([ed0d114](https://github.com/terwer/siyuan-plugin-picgo/commit/ed0d114e82d83a835919b9516b5a47d64e1574a0)) +* PicGO 插件第一版-UI 调整 ([77d3bc5](https://github.com/terwer/siyuan-plugin-picgo/commit/77d3bc5e7546c72490776b3ae5dfd5f7fb9c06d0)) +* PicGO 插件第一版-优化页面跳转与路由 ([815ebb0](https://github.com/terwer/siyuan-plugin-picgo/commit/815ebb0ab3cb0b83bea2b257dffc9874cf1c8a62)) +* PicGO 插件第一版-信息 font-awesome 图标 ([4d9c303](https://github.com/terwer/siyuan-plugin-picgo/commit/4d9c303c38ee54e472568d28deea5bef09e5c8b5)) +* PicGO 插件第一版-修复重新上传报错的问题 ([4c4bc64](https://github.com/terwer/siyuan-plugin-picgo/commit/4c4bc642ce7fcf20ebfb1be64a6edde4bc73b560)) +* PicGO 插件第一版-初始化 picgo 实例 ([b25f113](https://github.com/terwer/siyuan-plugin-picgo/commit/b25f1130d02f46ace0db521bdbc65a3b5dabaca1)) +* PicGO 插件第一版-初始化基本页面、日志等 ([0155cd4](https://github.com/terwer/siyuan-plugin-picgo/commit/0155cd421d25d6f05d63d0db385e5c632995c5e0)) +* PicGO 插件第一版-前期仅支持 PC 客户端 ([c95d21d](https://github.com/terwer/siyuan-plugin-picgo/commit/c95d21d8fdb1340d60f8d830a3e91f0dbd5ea969)) +* PicGO 插件第一版-图床配置 ([19f8570](https://github.com/terwer/siyuan-plugin-picgo/commit/19f857077240453bf4396f2b0d50a9854a74f097)) +* PicGO 插件第一版-图床配置 ([53c0187](https://github.com/terwer/siyuan-plugin-picgo/commit/53c01870ab70d218bcba89aeeb5af33cb35c156b)) +* PicGO 插件第一版-图床配置 ([c613f7c](https://github.com/terwer/siyuan-plugin-picgo/commit/c613f7cd8b1949b34e2c862e0218b5049f71dc19)) +* PicGO 插件第一版-图床配置 ([69d02f9](https://github.com/terwer/siyuan-plugin-picgo/commit/69d02f983d6824b71b6c6a9aff3db842b385cb4c)) +* PicGO 插件第一版-图床配置 ([6909be8](https://github.com/terwer/siyuan-plugin-picgo/commit/6909be807fb64688128de383597198c5b012e420)) +* PicGO 插件第一版-图床配置 ([eceaff1](https://github.com/terwer/siyuan-plugin-picgo/commit/eceaff1143f4500fc1c071d9ad42b8ffe7752a46)) +* PicGO 插件第一版-图床配置 ([25b5deb](https://github.com/terwer/siyuan-plugin-picgo/commit/25b5debbef05119cea21e4dad419edd49ee4637e)) +* PicGO 插件第一版-完成桥接版剪贴板上传 ([5b595ce](https://github.com/terwer/siyuan-plugin-picgo/commit/5b595ceddf2f2c4d96fe498bc1686e0e7c7e4683)) +* PicGO 插件第一版-定义 PicGo 图床基本流程 ([1066132](https://github.com/terwer/siyuan-plugin-picgo/commit/1066132464194d129024029ff6d75baa126d8909)) +* PicGO 插件第一版-支持配置导入导出 ([ceb9092](https://github.com/terwer/siyuan-plugin-picgo/commit/ceb90924676ff4496cca30266ddc1c6adc47194d)) +* PicGO 插件第一版-支持配置导入导出 ([caaf43c](https://github.com/terwer/siyuan-plugin-picgo/commit/caaf43c0b570db3b6014d633e4497f2bf83ae072)) +* PicGO 插件第一版-支持配置导入导出 ([7076a92](https://github.com/terwer/siyuan-plugin-picgo/commit/7076a92af2cd46b9af9dc4ef5d173daf79a194fa)) +* PicGO 插件第一版-支持配置导入导出 ([a712109](https://github.com/terwer/siyuan-plugin-picgo/commit/a712109d65f5e421d1a87caf3f1dee469c807d74)) +* PicGO 插件第一版-新增调试模式 ([5cd2374](https://github.com/terwer/siyuan-plugin-picgo/commit/5cd2374ccf2aed22764b1ea8091e9c6e1621418f)) +* PicGO 插件第一版-新增调试模式 ([365b003](https://github.com/terwer/siyuan-plugin-picgo/commit/365b0039db50715d5c9009974395ee9752627fe0)) +* PicGO 插件第一版-新增预览图 ([dab14a3](https://github.com/terwer/siyuan-plugin-picgo/commit/dab14a3a999d5e89e5458d2feb0c43b4387edeb0)) +* PicGO 插件第一版-显示图片列表 ([494639b](https://github.com/terwer/siyuan-plugin-picgo/commit/494639b376a197524f65412f743a510224b8ad0a)) +* PicGO 插件第一版-显示图片列表 ([85d2694](https://github.com/terwer/siyuan-plugin-picgo/commit/85d26946be9bfcacebd1225e5e3c13cf0e4a866e)) +* 初始化 PicGO 插件 ([ee4727d](https://github.com/terwer/siyuan-plugin-picgo/commit/ee4727d4cd5e475224b1a828921884a4019df74b)) + + +### Miscellaneous + +* update deps ([031cf76](https://github.com/terwer/siyuan-plugin-picgo/commit/031cf76b344cd362f4d9ea77f20db76baaee3b2a)) +* update deps ([4ad331f](https://github.com/terwer/siyuan-plugin-picgo/commit/4ad331fa0b48de02a43b655135514b6629751ff2)) +* update deps ([42a1219](https://github.com/terwer/siyuan-plugin-picgo/commit/42a12190955f2c8e3afab6f9c573827469455017)) +* update deps ([1b3247d](https://github.com/terwer/siyuan-plugin-picgo/commit/1b3247d85e49f954e55287c9bb2ec26da204c90a)) +* update deps ([cde58cc](https://github.com/terwer/siyuan-plugin-picgo/commit/cde58ccf62a35927b04de819199972ba507f4e6c)) +* update deps ([3fdd5b9](https://github.com/terwer/siyuan-plugin-picgo/commit/3fdd5b9d9eb998337d5a9b4b2facff6580ae136c)) +* update deps ([5426b05](https://github.com/terwer/siyuan-plugin-picgo/commit/5426b05a48cf0e4a334b2bc8d908e7cc05f5a8b0)) diff --git a/package.json b/package.json index 44669c37..c05dadd2 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "siyuan-plugin-picgo", "private": true, - "version": "0.0.1", + "version": "1.0.0", "type": "module", "scripts": { "serve": "vite", From 7a8e287bdbe2777d325d8525b4f09b7adc0ec809 Mon Sep 17 00:00:00 2001 From: terwer Date: Thu, 15 Jun 2023 02:07:38 +0800 Subject: [PATCH 2/3] =?UTF-8?q?feat:=20PicGO=20=E6=8F=92=E4=BB=B6=E7=AC=AC?= =?UTF-8?q?=E4=B8=80=E7=89=88-=E6=96=B0=E5=A2=9E=E9=A2=84=E8=A7=88?= =?UTF-8?q?=E5=9B=BE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CHANGELOG.md | 59 +++++++++++++--------------------------------- package.json | 3 +++ plugin.json | 2 +- scripts/version.py | 11 ++------- 4 files changed, 23 insertions(+), 52 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index c74f1a4d..e5bd2c72 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,47 +1,22 @@ # Changelog ## 1.0.0 (2023-06-14) - - ### Features - -* PicGO 插件第一版 ([29ff64b](https://github.com/terwer/siyuan-plugin-picgo/commit/29ff64be644e6f2dcdb0d77f2c48d741ef60ac28)) -* PicGO 插件第一版 ([7a46ac2](https://github.com/terwer/siyuan-plugin-picgo/commit/7a46ac26f70ae7feb4bc0e32c3fa061dddb8b12f)) -* PicGO 插件第一版 ([ed0d114](https://github.com/terwer/siyuan-plugin-picgo/commit/ed0d114e82d83a835919b9516b5a47d64e1574a0)) -* PicGO 插件第一版-UI 调整 ([77d3bc5](https://github.com/terwer/siyuan-plugin-picgo/commit/77d3bc5e7546c72490776b3ae5dfd5f7fb9c06d0)) -* PicGO 插件第一版-优化页面跳转与路由 ([815ebb0](https://github.com/terwer/siyuan-plugin-picgo/commit/815ebb0ab3cb0b83bea2b257dffc9874cf1c8a62)) -* PicGO 插件第一版-信息 font-awesome 图标 ([4d9c303](https://github.com/terwer/siyuan-plugin-picgo/commit/4d9c303c38ee54e472568d28deea5bef09e5c8b5)) -* PicGO 插件第一版-修复重新上传报错的问题 ([4c4bc64](https://github.com/terwer/siyuan-plugin-picgo/commit/4c4bc642ce7fcf20ebfb1be64a6edde4bc73b560)) -* PicGO 插件第一版-初始化 picgo 实例 ([b25f113](https://github.com/terwer/siyuan-plugin-picgo/commit/b25f1130d02f46ace0db521bdbc65a3b5dabaca1)) -* PicGO 插件第一版-初始化基本页面、日志等 ([0155cd4](https://github.com/terwer/siyuan-plugin-picgo/commit/0155cd421d25d6f05d63d0db385e5c632995c5e0)) -* PicGO 插件第一版-前期仅支持 PC 客户端 ([c95d21d](https://github.com/terwer/siyuan-plugin-picgo/commit/c95d21d8fdb1340d60f8d830a3e91f0dbd5ea969)) -* PicGO 插件第一版-图床配置 ([19f8570](https://github.com/terwer/siyuan-plugin-picgo/commit/19f857077240453bf4396f2b0d50a9854a74f097)) -* PicGO 插件第一版-图床配置 ([53c0187](https://github.com/terwer/siyuan-plugin-picgo/commit/53c01870ab70d218bcba89aeeb5af33cb35c156b)) -* PicGO 插件第一版-图床配置 ([c613f7c](https://github.com/terwer/siyuan-plugin-picgo/commit/c613f7cd8b1949b34e2c862e0218b5049f71dc19)) -* PicGO 插件第一版-图床配置 ([69d02f9](https://github.com/terwer/siyuan-plugin-picgo/commit/69d02f983d6824b71b6c6a9aff3db842b385cb4c)) -* PicGO 插件第一版-图床配置 ([6909be8](https://github.com/terwer/siyuan-plugin-picgo/commit/6909be807fb64688128de383597198c5b012e420)) -* PicGO 插件第一版-图床配置 ([eceaff1](https://github.com/terwer/siyuan-plugin-picgo/commit/eceaff1143f4500fc1c071d9ad42b8ffe7752a46)) -* PicGO 插件第一版-图床配置 ([25b5deb](https://github.com/terwer/siyuan-plugin-picgo/commit/25b5debbef05119cea21e4dad419edd49ee4637e)) -* PicGO 插件第一版-完成桥接版剪贴板上传 ([5b595ce](https://github.com/terwer/siyuan-plugin-picgo/commit/5b595ceddf2f2c4d96fe498bc1686e0e7c7e4683)) -* PicGO 插件第一版-定义 PicGo 图床基本流程 ([1066132](https://github.com/terwer/siyuan-plugin-picgo/commit/1066132464194d129024029ff6d75baa126d8909)) -* PicGO 插件第一版-支持配置导入导出 ([ceb9092](https://github.com/terwer/siyuan-plugin-picgo/commit/ceb90924676ff4496cca30266ddc1c6adc47194d)) -* PicGO 插件第一版-支持配置导入导出 ([caaf43c](https://github.com/terwer/siyuan-plugin-picgo/commit/caaf43c0b570db3b6014d633e4497f2bf83ae072)) -* PicGO 插件第一版-支持配置导入导出 ([7076a92](https://github.com/terwer/siyuan-plugin-picgo/commit/7076a92af2cd46b9af9dc4ef5d173daf79a194fa)) -* PicGO 插件第一版-支持配置导入导出 ([a712109](https://github.com/terwer/siyuan-plugin-picgo/commit/a712109d65f5e421d1a87caf3f1dee469c807d74)) -* PicGO 插件第一版-新增调试模式 ([5cd2374](https://github.com/terwer/siyuan-plugin-picgo/commit/5cd2374ccf2aed22764b1ea8091e9c6e1621418f)) -* PicGO 插件第一版-新增调试模式 ([365b003](https://github.com/terwer/siyuan-plugin-picgo/commit/365b0039db50715d5c9009974395ee9752627fe0)) -* PicGO 插件第一版-新增预览图 ([dab14a3](https://github.com/terwer/siyuan-plugin-picgo/commit/dab14a3a999d5e89e5458d2feb0c43b4387edeb0)) -* PicGO 插件第一版-显示图片列表 ([494639b](https://github.com/terwer/siyuan-plugin-picgo/commit/494639b376a197524f65412f743a510224b8ad0a)) -* PicGO 插件第一版-显示图片列表 ([85d2694](https://github.com/terwer/siyuan-plugin-picgo/commit/85d26946be9bfcacebd1225e5e3c13cf0e4a866e)) -* 初始化 PicGO 插件 ([ee4727d](https://github.com/terwer/siyuan-plugin-picgo/commit/ee4727d4cd5e475224b1a828921884a4019df74b)) - - +* picgo 插件第一版 ([ed0d114](https://github.com/terwer/siyuan-plugin-picgo/commit/ed0d114e82d83a835919b9516b5a47d64e1574a0)) +* picgo 插件第一版-ui 调整 ([77d3bc5](https://github.com/terwer/siyuan-plugin-picgo/commit/77d3bc5e7546c72490776b3ae5dfd5f7fb9c06d0)) +* picgo 插件第一版-优化页面跳转与路由 ([815ebb0](https://github.com/terwer/siyuan-plugin-picgo/commit/815ebb0ab3cb0b83bea2b257dffc9874cf1c8a62)) +* picgo 插件第一版-信息 font-awesome 图标 ([4d9c303](https://github.com/terwer/siyuan-plugin-picgo/commit/4d9c303c38ee54e472568d28deea5bef09e5c8b5)) +* picgo 插件第一版-修复重新上传报错的问题 ([4c4bc64](https://github.com/terwer/siyuan-plugin-picgo/commit/4c4bc642ce7fcf20ebfb1be64a6edde4bc73b560)) +* picgo 插件第一版-初始化 picgo 实例 ([b25f113](https://github.com/terwer/siyuan-plugin-picgo/commit/b25f1130d02f46ace0db521bdbc65a3b5dabaca1)) +* picgo 插件第一版-初始化基本页面、日志等 ([0155cd4](https://github.com/terwer/siyuan-plugin-picgo/commit/0155cd421d25d6f05d63d0db385e5c632995c5e0)) +* picgo 插件第一版-前期仅支持 pc 客户端 ([c95d21d](https://github.com/terwer/siyuan-plugin-picgo/commit/c95d21d8fdb1340d60f8d830a3e91f0dbd5ea969)) +* picgo 插件第一版-图床配置 ([25b5deb](https://github.com/terwer/siyuan-plugin-picgo/commit/25b5debbef05119cea21e4dad419edd49ee4637e)) +* picgo 插件第一版-完成桥接版剪贴板上传 ([5b595ce](https://github.com/terwer/siyuan-plugin-picgo/commit/5b595ceddf2f2c4d96fe498bc1686e0e7c7e4683)) +* picgo 插件第一版-定义 picgo 图床基本流程 ([1066132](https://github.com/terwer/siyuan-plugin-picgo/commit/1066132464194d129024029ff6d75baa126d8909)) +* picgo 插件第一版-支持配置导入导出 ([a712109](https://github.com/terwer/siyuan-plugin-picgo/commit/a712109d65f5e421d1a87caf3f1dee469c807d74)) +* picgo 插件第一版-新增调试模式 ([365b003](https://github.com/terwer/siyuan-plugin-picgo/commit/365b0039db50715d5c9009974395ee9752627fe0)) +* picgo 插件第一版-新增预览图 ([dab14a3](https://github.com/terwer/siyuan-plugin-picgo/commit/dab14a3a999d5e89e5458d2feb0c43b4387edeb0)) +* picgo 插件第一版-显示图片列表 ([85d2694](https://github.com/terwer/siyuan-plugin-picgo/commit/85d26946be9bfcacebd1225e5e3c13cf0e4a866e)) +* 初始化 picgo 插件 ([ee4727d](https://github.com/terwer/siyuan-plugin-picgo/commit/ee4727d4cd5e475224b1a828921884a4019df74b)) ### Miscellaneous - -* update deps ([031cf76](https://github.com/terwer/siyuan-plugin-picgo/commit/031cf76b344cd362f4d9ea77f20db76baaee3b2a)) -* update deps ([4ad331f](https://github.com/terwer/siyuan-plugin-picgo/commit/4ad331fa0b48de02a43b655135514b6629751ff2)) -* update deps ([42a1219](https://github.com/terwer/siyuan-plugin-picgo/commit/42a12190955f2c8e3afab6f9c573827469455017)) -* update deps ([1b3247d](https://github.com/terwer/siyuan-plugin-picgo/commit/1b3247d85e49f954e55287c9bb2ec26da204c90a)) -* update deps ([cde58cc](https://github.com/terwer/siyuan-plugin-picgo/commit/cde58ccf62a35927b04de819199972ba507f4e6c)) -* update deps ([3fdd5b9](https://github.com/terwer/siyuan-plugin-picgo/commit/3fdd5b9d9eb998337d5a9b4b2facff6580ae136c)) -* update deps ([5426b05](https://github.com/terwer/siyuan-plugin-picgo/commit/5426b05a48cf0e4a334b2bc8d908e7cc05f5a8b0)) +* update deps ([5426b05](https://github.com/terwer/siyuan-plugin-picgo/commit/5426b05a48cf0e4a334b2bc8d908e7cc05f5a8b0)) \ No newline at end of file diff --git a/package.json b/package.json index c05dadd2..521fc022 100644 --- a/package.json +++ b/package.json @@ -11,6 +11,9 @@ "siyuanDev": "vue-tsc && vite build --watch", "siyuanBuild": "vue-tsc && vite build", "siyuanSync": "cp -r ./dist/* /Users/terwer/Documents/mydocs/SiYuanWorkspace/public/data/plugins/siyuan-plugin-picgo", + "syncVersion": "python scripts/version.py", + "parseChangelog": "python scripts/parse_changelog.py", + "prepareRelease": "pnpm syncVersion && pnpm parseChangelog", "package": "python scripts/package.py", "preview": "vite preview" }, diff --git a/plugin.json b/plugin.json index 9a61198c..41e386d1 100644 --- a/plugin.json +++ b/plugin.json @@ -2,7 +2,7 @@ "name": "siyuan-plugin-picgo", "author": "terwer", "url": "https://github.com/terwer/siyuan-plugin-picgo", - "version": "0.0.1", + "version": "1.0.0", "minAppVersion": "2.9.0", "backends": [ "windows", diff --git a/scripts/version.py b/scripts/version.py index 326d9e93..8096589d 100644 --- a/scripts/version.py +++ b/scripts/version.py @@ -67,12 +67,5 @@ def parse_json(filename, version_field, new_version): if args.verbose: print("Verbose mode enabled") - # widget.json - parse_json(cwd + "widget.json", "version", args.version) - - # manifest.json - parse_json(cwd + "public/manifest.dev.json", "version", args.version) - parse_json(cwd + "public/manifest.prod.json", "version", args.version) - - # mv2 manifest.json - parse_json(cwd + "public/mv2/manifest-v2-for-firefox.json", "version", args.version) + # plugin.json + parse_json(cwd + "plugin.json", "version", args.version) \ No newline at end of file From 7663fb73665f787667fd829109b723abd4886911 Mon Sep 17 00:00:00 2001 From: terwer Date: Thu, 15 Jun 2023 02:08:20 +0800 Subject: [PATCH 3/3] =?UTF-8?q?feat:=20PicGO=20=E6=8F=92=E4=BB=B6=E7=AC=AC?= =?UTF-8?q?=E4=B8=80=E7=89=88-=E6=96=B0=E5=A2=9E=E9=A2=84=E8=A7=88?= =?UTF-8?q?=E5=9B=BE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- scripts/package.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/package.py b/scripts/package.py index a97794a3..c3980466 100644 --- a/scripts/package.py +++ b/scripts/package.py @@ -16,7 +16,7 @@ src_folder = dist_folder tmp_folder_name = "./siyuan-plugin-picgo" build_zip_path = "./build" - build_zip_name = "siyuan-siyuan-plugin-picgo-" + v + ".zip" + build_zip_name = "siyuan-plugin-picgo-" + v + ".zip" try: # 压缩dist为zip