Skip to content

Commit

Permalink
chore: sync repo v1.1.1
Browse files Browse the repository at this point in the history
  • Loading branch information
terwer committed Aug 1, 2023
1 parent ac6f440 commit 7be5fe4
Show file tree
Hide file tree
Showing 7 changed files with 11 additions and 30 deletions.
13 changes: 5 additions & 8 deletions 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))
Expand All @@ -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
Expand Down
4 changes: 2 additions & 2 deletions 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",
Expand All @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion plugin.json
Expand Up @@ -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",
Expand Down
16 changes: 0 additions & 16 deletions scripts/plugin_build.py
Expand Up @@ -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("插件打包完毕.")
2 changes: 1 addition & 1 deletion src/extensions/manifest.json
@@ -1,6 +1,6 @@
{
"name": "思源笔记发布辅助工具",
"version": "0.10.0",
"version": "1.1.1",
"manifest_version": 3,
"author": "terwer",
"icons": {
Expand Down
2 changes: 1 addition & 1 deletion 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": {
Expand Down
2 changes: 1 addition & 1 deletion widget.json
Expand Up @@ -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",
Expand Down

0 comments on commit 7be5fe4

Please sign in to comment.