Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: use flutter distributor #313

Merged
merged 5 commits into from
Jan 4, 2024
Merged

ci: use flutter distributor #313

merged 5 commits into from
Jan 4, 2024

Conversation

pugaizai
Copy link
Contributor

@pugaizai pugaizai commented Jan 3, 2024

No description provided.

@pugaizai pugaizai marked this pull request as draft January 3, 2024 16:14
@codecov-commenter
Copy link

codecov-commenter commented Jan 3, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (31228e3) 61.02% compared to head (27c080e) 61.02%.

❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #313   +/-   ##
=======================================
  Coverage   61.02%   61.02%           
=======================================
  Files          19       19           
  Lines        2866     2866           
=======================================
  Hits         1749     1749           
  Misses        920      920           
  Partials      197      197           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@pugaizai
Copy link
Contributor Author

pugaizai commented Jan 3, 2024

@pugaizai pugaizai marked this pull request as ready for review January 3, 2024 18:28
@pugaizai
Copy link
Contributor Author

pugaizai commented Jan 3, 2024

@monkeyWie take a look

@monkeyWie
Copy link
Member

Thx, did you do the test?

@pugaizai
Copy link
Contributor Author

pugaizai commented Jan 4, 2024

Thx, did you do the test?

https://github.com/madoka773/gopeed/releases/tag/v1.6.3

可以试试,我跑过ci没问题
不过安卓和mac,ios,windows不会搞,看你的了

@monkeyWie
Copy link
Member

看起来文件名得处理下,和以前的不一样

@pugaizai
Copy link
Contributor Author

pugaizai commented Jan 4, 2024

看起来文件名得处理下,和以前的不一样

没找到哪里改

mv Gopeed-*-x86_64.AppImage build/dist/Gopeed-$VERSION-linux-amd64.AppImage

dart pub global activate flutter_distributor
flutter_distributor package --platform linux --targets deb,rpm,zip,appimage
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

zip格式就不要了吧,然后下面写个脚本把构建出来的文件名改下就好了

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

zip格式就是之前的portable

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

之前打portable是为了给flathub用的,然后现在不是直接用的.deb包吗就没用了

@monkeyWie monkeyWie self-requested a review January 4, 2024 03:17
.github/workflows/build.yml Outdated Show resolved Hide resolved
@pugaizai pugaizai requested a review from monkeyWie January 4, 2024 04:13
@monkeyWie monkeyWie merged commit 29d0f5e into GopeedLab:main Jan 4, 2024
2 checks passed
@monkeyWie monkeyWie added the ci label Jan 23, 2024
@monkeyWie monkeyWie changed the title Use flutter distributor ci: use flutter distributor Jan 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants