Skip to content

Fdroid release script #2904

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

Merged
merged 8 commits into from
May 24, 2024
Merged

Fdroid release script #2904

merged 8 commits into from
May 24, 2024

Conversation

bmarty
Copy link
Member

@bmarty bmarty commented May 23, 2024

Iterate on the release script to build and sign APKs for F-Droid.

Test OK with this build: https://github.com/element-hq/element-x-android/actions/runs/9189098239

And generated APKs have been added to this release: https://github.com/element-hq/element-x-android/releases/tag/v0.4.13

The scripts also have some other change, see commit per commit for the details.

Closes #1418

@bmarty bmarty requested a review from a team as a code owner May 23, 2024 15:27
@bmarty bmarty requested review from jmartinesp and removed request for a team May 23, 2024 15:27
Copy link

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
No data about Duplication

See analysis details on SonarCloud

Copy link
Contributor

📱 Scan the QR code below to install the build (arm64 only) for this PR.
QR code
If you can't scan the QR code you can install the build via this link: https://i.diawi.com/sEwCGM

Copy link

codecov bot commented May 23, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 75.23%. Comparing base (3f46544) to head (31fcfe3).

Additional details and impacted files
@@           Coverage Diff            @@
##           develop    #2904   +/-   ##
========================================
  Coverage    75.23%   75.23%           
========================================
  Files         1550     1550           
  Lines        36954    36954           
  Branches      7152     7152           
========================================
  Hits         27803    27803           
  Misses        5415     5415           
  Partials      3736     3736           

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

Copy link
Member

@jmartinesp jmartinesp left a comment

Choose a reason for hiding this comment

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

I haven't tested it but the code makes sense to me. Note there were some issues with reproducible builds, but I'm not sure if it's caused by the script, since it seems more likely than the 2 built apk sources were not in sync somehow.

@@ -117,7 +117,7 @@ version=${version:-${versionCandidate}}
versionMajor=`echo ${version} | cut -d "." -f1`
versionMinor=`echo ${version} | cut -d "." -f2`
versionPatch=`echo ${version} | cut -d "." -f3`
nextPatchVersion=$((versionPatch + 2))
nextPatchVersion=$((versionPatch + 1))
Copy link
Member

Choose a reason for hiding this comment

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

I agree to change this, just curious about why.

Copy link
Member Author

Choose a reason for hiding this comment

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

Since we do not really do hotfix release currently I always have to change the value manually. This is a temporary change, maybe one day I will revert it.

@bmarty bmarty merged commit 8f6190e into develop May 24, 2024
22 checks passed
@bmarty bmarty deleted the feature/bma/fdroidReleaseScript branch May 24, 2024 08:09
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.

FOSS Version
2 participants