Skip to content

Commit a85438f

Browse files
committed
feat: v1.3.4
1 parent e4c5ed8 commit a85438f

File tree

4 files changed

+21
-4
lines changed

4 files changed

+21
-4
lines changed

.github/workflows/release.yml

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@ name: Build
33
on:
44
workflow_dispatch:
55
push:
6-
branches: [ main ]
6+
branches: [main]
77
pull_request:
8-
branches: [ main ]
8+
branches: [main]
99

1010
jobs:
1111
build-and-release:
@@ -39,6 +39,16 @@ jobs:
3939
run: |
4040
sed -i "s/version=0.0.1/version=${{ steps.read_version.outputs.version }}/" app/manifest
4141
42+
- name: Get changelog
43+
id: read_log
44+
run: |
45+
VERSION=$(jq -r '.changelog' package.json)
46+
echo "changelog=$CHANGELOG" >> $GITHUB_OUTPUT
47+
48+
- name: Update changelog in manifest file
49+
run: |
50+
sed -i "s/changelog=changelog/changelog=${{ steps.read_version.outputs.changelog }}/" app/manifest
51+
4252
- name: Build Package
4353
run: |
4454
chmod +x ./build/fnpack-1.0.4-linux-amd64
@@ -52,4 +62,4 @@ jobs:
5262
body: |
5363
[更新日志](https://github.com/FNOSP/App.Bin.CodeEditor/blob/main/CHANGELOG.md)
5464
artifacts: "code.editor.fpk"
55-
token: ${{ secrets.GITHUB_TOKEN }}
65+
token: ${{ secrets.GITHUB_TOKEN }}

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
# 更新日志
22

3+
## 1.3.4
4+
5+
- 新增:历史记录支持删除和清空
6+
- 新增:偏好设置中新增自动换行
7+
38
## 1.3.3
49

510
- 新增:打开时展示历史记录,便于快速访问

app/manifest

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
appname=code.editor
22
version=0.0.1
3+
changelog=changelog
34
desc=`<div>VS Code 同源库,支持多种编码文件的操作,更有语法高亮、代码补全。</div>
45
<div>text、txt、js、ts、html、htm、css、scss、less、json、md、py、java、c、cpp、cc、cxx、go、rs、php、rb、sh、sql、xml、yaml、yml、vue 后缀文件直接双击文件或右键选择代码编辑器打开。</div><div>非上述后缀文件,右键【详细信息】-【复制原始路径】,点击桌面图标访问后粘贴路径打开。</div>
56
<div>提示:移动端暂未做 UI 适配,访问可能布局错乱;访问二进制文件将显示乱码,请谨慎操作。</div>`

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
{
22
"name": "code.editor",
3-
"version": "1.3.3",
3+
"version": "1.3.4",
4+
"changelog": "<div>新增:打开时展示历史记录,便于快速访问</div><div>新增:偏好设置中新增自动换行</div><div>修复:偏好设置恢复默认不生效的问题</div>",
45
"scripts": {
56
"dev": "node src/app.js",
67
"install": "npm i --prefix=backend && npm i --prefix=frontend",

0 commit comments

Comments
 (0)