Skip to content

Commit

Permalink
docs#
Browse files Browse the repository at this point in the history
  • Loading branch information
hqweay committed Apr 3, 2024
1 parent 59059c9 commit 4f162e6
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 27 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Create Release on Tag Push
on:
push:
tags:
- "v*"
- "*"

jobs:
build:
Expand Down
45 changes: 20 additions & 25 deletions plugin.json
Original file line number Diff line number Diff line change
@@ -1,30 +1,25 @@
{
"name": "typography-go",
"version": "v0.1.3",
"type": "module",
"description": "中文排版优化",
"repository": "",
"homepage": "",
"author": "养恐龙",
"license": "WTFPL",
"scripts": {
"make-link": "node --no-warnings ./scripts/make_dev_link.js",
"dev": "vite build --watch",
"build": "vite build"
"url": "https://github.com/hqweay/typography-go",
"version": "0.0.9",
"minAppVersion": "3.0.0",
"backends": ["windows", "linux", "darwin"],
"frontends": ["desktop", "desktop-window"],
"displayName": {
"en_US": "中文排版优化",
"zh_CN": "中文排版优化"
},
"devDependencies": {
"@types/node": "^20.3.0",
"eslint": "^8.42.0",
"fast-glob": "^3.2.12",
"glob": "^7.2.3",
"minimist": "^1.2.8",
"rollup-plugin-livereload": "^2.0.5",
"sass": "^1.63.3",
"siyuan": "0.9.4",
"ts-node": "^10.9.1",
"typescript": "^5.1.3",
"vite": "^4.5.2",
"vite-plugin-static-copy": "^0.15.0",
"vite-plugin-zip-pack": "^1.0.5"
}
"description": {
"en_US": "中文排版优化",
"zh_CN": "中文排版优化"
},
"readme": {
"en_US": "README.md",
"zh_CN": "README.md"
},
"funding": {
"custom": ["https://afdian.net/a/frostime"]
},
"keywords": ["plugin", "type", "中文"]
}
2 changes: 1 addition & 1 deletion update-version.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
new_version="$1"

jq --arg new_version "$new_version" '.version = $new_version' package.json > tmpfile && mv tmpfile package.json
jq --arg new_version "$new_version" '.version = $new_version' package.json > tmpfile && mv tmpfile plugin.json
jq --arg new_version "$new_version" '.version = $new_version' plugin.json > tmpfile && mv tmpfile plugin.json

git add package.json
git add plugin.json
Expand Down

0 comments on commit 4f162e6

Please sign in to comment.