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

add fastlane #31

Merged
merged 2 commits into from
Nov 13, 2023
Merged

add fastlane #31

merged 2 commits into from
Nov 13, 2023

Conversation

linsui
Copy link

@linsui linsui commented Oct 16, 2022

如果可以的话我把 Readme 里的图片也放进来。

我看了一下 apk,里面的文件是乱序的,所以没有办法可重复构建。我构建出来的 apk 是按文件名排序的。不太清楚是文件系统还是操作系统的问题。F-Droid 是在 Debian 上用 Gradle 构建的。我猜 GitHub Action 构建出的 apk 没有问题,但文件没有上传我没测试。

@ichenhe
Copy link
Owner

ichenhe commented Nov 12, 2023

我打算保留自动版本号机制,方案如下:

  1. 每次发布 GitHub Actions 会把当前版本信息保存到文件,并推送到 version 分支。
  2. 配置 F-Droid 为 UpdateCheckMode=HTTP 配合 UpdateCheckData 即可通过读取版本文件来检测更新。

另外可重复构建行不通,因为这个 App 已经使用了我自己的签名,F-Droid 换个签名会无法更新。

@ichenhe ichenhe merged commit 204d94a into ichenhe:master Nov 13, 2023
1 check passed
@linsui linsui deleted the fastlane branch November 13, 2023 06:11
@linsui
Copy link
Author

linsui commented Nov 13, 2023

另外可重复构建行不通,因为这个 App 已经使用了我自己的签名,F-Droid 换个签名会无法更新。

如果采用可重复构建,F-Droid 会直接发布你签名的 apk。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants