Skip to content

Commit

Permalink
chore: support linux-arm64 build
Browse files Browse the repository at this point in the history
  • Loading branch information
reruin committed Aug 21, 2021
1 parent 8cc10bc commit bbc0e2c
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 7 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,10 @@ jobs:
- name: Release
run: |
cd ./packages/sharelist/build
tar --transform='flags=r;s|sharelist-win.exe|sharelist.exe|' -zcvf sharelist_windows_amd64.tar.gz sharelist-win.exe
tar --transform='flags=r;s|sharelist-macos|sharelist|' -zcvf sharelist_macos_amd64.tar.gz sharelist-macos
tar --transform='flags=r;s|sharelist-linux|sharelist|' -zcvf sharelist_linux_amd64.tar.gz sharelist-linux
tar --transform='flags=r;s|sharelist-win-x64.exe|sharelist.exe|' -zcvf sharelist_windows_amd64.tar.gz sharelist-win-x64.exe
tar --transform='flags=r;s|sharelist-macos-x64|sharelist|' -zcvf sharelist_macos_amd64.tar.gz sharelist-macos-x64
tar --transform='flags=r;s|sharelist-linux-x64|sharelist|' -zcvf sharelist_linux_amd64.tar.gz sharelist-linux-x64
tar --transform='flags=r;s|sharelist-linux-arm64|sharelist|' -zcvf sharelist_linux_arm64.tar.gz sharelist-linux-arm64
gh release create ${{ env.VERSION }} -n "${{ env.NOTE }}" -t "${{ env.VERSION }}" ${{ env.FILES }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down
10 changes: 8 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,15 @@
[![Build Status](https://github.com/reruin/sharelist/actions/workflows/ci.yml/badge.svg)](https://github.com/reruin/sharelist/actions/workflows/ci.yml)

ShareList 是一个易用的网盘工具,支持快速挂载 GoogleDrive、OneDrive ,可通过插件扩展功能。
新版正在开发中,欢迎[提交反馈](https://github.com/reruin/sharelist/issues/new/choose)
新版正在开发中,欢迎[提交反馈](https://github.com/reruin/sharelist/issues/new/choose)[查看旧版](https://github.com/reruin/sharelist/tree/0.1)

## 进度
- [x] 核心库支持
- [x] 新主题
- [x] 插件:onedrive/googledrive/aliyundrive/caiyun/ctcloud/baidu
- [ ] webdav
- [ ] 中转器

[查看旧版](https://github.com/reruin/sharelist/tree/0.1)

## 安装
```docker
Expand Down
4 changes: 2 additions & 2 deletions packages/sharelist/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
"dev": "cross-env NODE_ENV=dev nodemon app.js -i ./cache",
"test": "echo \"Error: no test specified\" && exit 1",
"changelog": "conventional-changelog -p angular -i CHANGELOG.md -s --commit-path .",
"pkg": "pkg . --output build/sharelist --targets linux-x64,macos-x64,win-x64",
"pkg-local": "pkg . --output build/sharelist --targets",
"pkg": "pkg . --output build/sharelist --targets linux-x64,linux-arm64,macos-x64,win-x64",
"pkg-local": "pkg . --output build/sharelist",
"release": "node ../../scripts/release.js --skipBuild --skipNpmPublish"
},
"dependencies": {
Expand Down

0 comments on commit bbc0e2c

Please sign in to comment.