File tree Expand file tree Collapse file tree 5 files changed +24
-20
lines changed
Expand file tree Collapse file tree 5 files changed +24
-20
lines changed Original file line number Diff line number Diff line change 1717 id : yarn-cache
1818 run : echo "::set-output name=dir::$(yarn cache dir)"
1919 # 更新缓存
20- - name : Cache dependencies
20+ - name : Cache Dependencies
2121 uses : actions/cache@v1
2222 with :
2323 path : ${{ steps.yarn-cache.outputs.dir }}
3333 # 压缩构建后的文件
3434 - name : Compress
3535 run : |
36- zip --junk-paths Git_Log_Analytics_win dist/Git_Log_Analytics_win .exe
37- zip --junk-paths Git_Log_Analytics_mac dist/Git_Log_Analytics_mac .dmg
36+ zip --junk-paths Git_Commit_Analytics_win dist/Git_Commit_Analytics_win .exe
37+ zip --junk-paths Git_Commit_Analytics_mac dist/Git_Commit_Analytics_mac .dmg
3838 # 发版
3939 - name : Release
4040 id : create_release
Original file line number Diff line number Diff line change @@ -19,32 +19,32 @@ jobs:
1919 # 文件改名,加入版本号
2020 - name : Rename Files
2121 run : |
22- mv Git_Log_Analytics_win .zip Git_Log_Analytics_v ${{ steps.package-version.outputs.current-version}}_win.zip
23- mv Git_Log_Analytics_mac .zip Git_Log_Analytics_v ${{ steps.package-version.outputs.current-version}}_mac.zip
22+ mv Git_Commit_Analytics_win .zip Git_Commit_Analytics_v ${{ steps.package-version.outputs.current-version}}_win.zip
23+ mv Git_Commit_Analytics_mac .zip Git_Commit_Analytics_v ${{ steps.package-version.outputs.current-version}}_mac.zip
2424 # 上传 Win 版本的压缩包到 release
25- - name : Upload to release
25+ - name : Upload To Release
2626 uses : JasonEtco/upload-to-release@master
2727 with :
28- args : Git_Log_Analytics_v ${{ steps.package-version.outputs.current-version}}_win.zip application/zip
28+ args : Git_Commit_Analytics_v ${{ steps.package-version.outputs.current-version}}_win.zip application/zip
2929 env :
3030 GITHUB_TOKEN : ${{ secrets.ACCESS_TOKEN }}
3131 # 删除 Win 版本的压缩包
3232 - name : Remove Files
3333 uses : JesseTG/rm@v1.0.2
3434 with :
35- path : Git_Log_Analytics_v ${{ steps.package-version.outputs.current-version}}_win.zip
35+ path : Git_Commit_Analytics_v ${{ steps.package-version.outputs.current-version}}_win.zip
3636 # 上传 Mac 版本的压缩包到 release
37- - name : Upload to release
37+ - name : Upload To Release
3838 uses : JasonEtco/upload-to-release@master
3939 with :
40- args : Git_Log_Analytics_v ${{ steps.package-version.outputs.current-version}}_mac.zip application/zip
40+ args : Git_Commit_Analytics_v ${{ steps.package-version.outputs.current-version}}_mac.zip application/zip
4141 env :
4242 GITHUB_TOKEN : ${{ secrets.ACCESS_TOKEN }}
4343 # 删除 Mac 版本的压缩包
4444 - name : Remove Files
4545 uses : JesseTG/rm@v1.0.2
4646 with :
47- path : Git_Log_Analytics_v ${{ steps.package-version.outputs.current-version}}_mac.zip
47+ path : Git_Commit_Analytics_v ${{ steps.package-version.outputs.current-version}}_mac.zip
4848 # 提交代码
4949 - name : Save Changes
5050 run : |
Original file line number Diff line number Diff line change 99 "@semantic-release/git",
1010 {
1111 "assets": [
12- "Git_Log_Analytics_win .zip",
13- "Git_Log_Analytics_mac .zip",
12+ "Git_Commit_Analytics_win .zip",
13+ "Git_Commit_Analytics_mac .zip",
1414 "package.json",
1515 "CHANGELOG.md"
1616 ],
Original file line number Diff line number Diff line change 1- # git-log -analytics
1+ # git-commit -analytics
22
33A tool to analyze your git repository's commit log. I can help you generate daily/weekly or longer work reports.
44
5- ---
6-
75Developing…
6+
7+ ## Download
8+
9+ See: [ The Latest Release] ( https://github.com/analyticsjs/git-commit-analytics/releases/latest )
10+
11+ 查看: [ 最新的一个发布版本] ( https://github.com/analyticsjs/git-commit-analytics/releases/latest )
Original file line number Diff line number Diff line change 11{
2- "name" : " git-log -analytics" ,
2+ "name" : " git-commit -analytics" ,
33 "version" : " 0.0.0" ,
44 "description" : " A tool to analyze your git repository's commit log. I can help you generate daily/weekly or longer work reports." ,
55 "main" : " src/index.js" ,
88 "scripts" : {
99 "dev" : " node src/index.js" ,
1010 "build" : " npm run build:win && npm run build:mac" ,
11- "build:win" : " pkg src/index.js -t win -o dist/Git_Log_Analytics_win .exe" ,
12- "build:mac" : " pkg src/index.js -t macos -o dist/Git_Log_Analytics_mac .dmg" ,
13- "build:dev" : " pkg src/index.js -t win -o Git_Log_Analytics_dev .exe" ,
11+ "build:win" : " pkg src/index.js -t win -o dist/Git_Commit_Analytics_win .exe" ,
12+ "build:mac" : " pkg src/index.js -t macos -o dist/Git_Commit_Analytics_mac .dmg" ,
13+ "build:dev" : " pkg src/index.js -t win -o Git_Commit_Analytics_dev .exe" ,
1414 "format" : " prettier --write ." ,
1515 "backup" : " git add . && git commit -m \" chore: save the coding progress\" && git push"
1616 },
You can’t perform that action at this time.
0 commit comments