File tree Expand file tree Collapse file tree 4 files changed +21
-4
lines changed
Expand file tree Collapse file tree 4 files changed +21
-4
lines changed Original file line number Diff line number Diff line change @@ -3,9 +3,9 @@ name: Build
33on :
44 workflow_dispatch :
55 push :
6- branches : [ main ]
6+ branches : [main]
77 pull_request :
8- branches : [ main ]
8+ branches : [main]
99
1010jobs :
1111 build-and-release :
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
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 }}
Original file line number Diff line number Diff line change 11# 更新日志
22
3+ ## 1.3.4
4+
5+ - 新增:历史记录支持删除和清空
6+ - 新增:偏好设置中新增自动换行
7+
38## 1.3.3
49
510- 新增:打开时展示历史记录,便于快速访问
Original file line number Diff line number Diff line change 11appname=code.editor
22version=0.0.1
3+ changelog=changelog
34desc=`<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>`
Original file line number Diff line number Diff line change 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" ,
You can’t perform that action at this time.
0 commit comments