Skip to content

Commit

Permalink
Merge pull request #5 from terwer/release-please--branches--main--com…
Browse files Browse the repository at this point in the history
…ponents--release-please-action

chore(main): release 1.0.0
  • Loading branch information
terwer authored Jun 14, 2023
2 parents dab14a3 + 7663fb7 commit e413d36
Show file tree
Hide file tree
Showing 5 changed files with 30 additions and 12 deletions.
22 changes: 22 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# Changelog

## 1.0.0 (2023-06-14)
### Features
* 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 ([5426b05](https://github.com/terwer/siyuan-plugin-picgo/commit/5426b05a48cf0e4a334b2bc8d908e7cc05f5a8b0))
5 changes: 4 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "siyuan-plugin-picgo",
"private": true,
"version": "0.0.1",
"version": "1.0.0",
"type": "module",
"scripts": {
"serve": "vite",
Expand All @@ -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"
},
Expand Down
2 changes: 1 addition & 1 deletion plugin.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion scripts/package.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
11 changes: 2 additions & 9 deletions scripts/version.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

0 comments on commit e413d36

Please sign in to comment.