Skip to content

Commit

Permalink
Merge branch 'main' into develop
Browse files Browse the repository at this point in the history
  • Loading branch information
SailReal committed Sep 23, 2024
2 parents c61ddb5 + 9c5afb4 commit c970438
Show file tree
Hide file tree
Showing 18 changed files with 21 additions and 19 deletions.
2 changes: 2 additions & 0 deletions buildsystem/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -42,5 +42,7 @@ RUN rm -rf ${ANDROID_HOME}/tools
# Create a non-root user and group
RUN groupadd -r appuser && useradd --no-log-init -r -g appuser appuser

# RUN mkdir -p /home/appuser/.gradle && chown -R appuser:appuser /home/appuser/.gradle

# Switch to the non-root user
USER appuser
6 changes: 3 additions & 3 deletions fastlane/Fastfile
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ platform :android do |options|
desc "Deploy new version to Lenotra AG"
private_lane :deployToLenotraAG do |options|
apk_path = "fastlane/release/Cryptomator-#{version}_playstore_signed.apk"
if File.exists?("../#{apk_path}")
if File.exist?("../#{apk_path}")
puts "APK found"
else
puts "No APK available at #{apk_path}, please build it first e.g. using the deployToPlaystore lane"
Expand Down Expand Up @@ -295,11 +295,11 @@ platform :android do |options|
desc "Deploy new lite version"
private_lane :deployLite do |options|
sh("docker build -t cryptomator-android ../buildsystem")
sh("docker run --rm -v $(cd .. && pwd):/project -w /project cryptomator-android ./gradlew clean assembleLiteRelease")
sh("docker run -u $(id -u):$(id -g) --rm -v $(cd .. && pwd):/project -w /project cryptomator-android ./gradlew clean assembleLiteRelease")

sh("zipalign -v -p 4 ../presentation/build/outputs/apk/lite/release/presentation-lite-release-unsigned.apk presentation-lite-release-unsigned-aligned.apk")
sh("apksigner sign --ks #{ENV["SIGNING_KEYSTORE_PATH"]} --ks-key-alias #{ENV["SIGNING_KEY_ALIAS"]} --ks-pass env:SIGNING_KEYSTORE_PASSWORD --key-pass env:SIGNING_KEY_PASSWORD --out release/Cryptomator-#{version}_lite_signed.apk presentation-lite-release-unsigned-aligned.apk")
sh("rm presentation-lite-release-unsigned-aligned.apk")
sh("rm presentation-lite-release-unsigned-aligned.apk")

lane_context[SharedValues::GRADLE_APK_OUTPUT_PATH] = File.join(Dir.pwd, 'release', "Cryptomator-#{version}_lite_signed.apk")

Expand Down
2 changes: 1 addition & 1 deletion fastlane/izzyscript/result_apkstore.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion fastlane/izzyscript/result_fdroid.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion fastlane/izzyscript/result_lite.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion fastlane/izzyscript/result_playstore.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion fastlane/release-notes-de.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
- Fehlerbehebung beim Zurückschreiben geänderter Dateien auf bestimmten Geräten
- Migration von Cloud-Zugangs-Tokens und Tresor-Passwörtern zu AES 256bit GCM
2 changes: 1 addition & 1 deletion fastlane/release-notes-en.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
- Fix write back edited file on some devices
- Migrate cloud access tokens and vault passwords to AES 256bit GCM
2 changes: 1 addition & 1 deletion fastlane/release-notes.html
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
<ul>
<li>Fix write back edited file on some devices</li>
<li>Migrate cloud access tokens and vault passwords to AES 256bit GCM</li>
</ul>
Original file line number Diff line number Diff line change
@@ -1 +1 @@
- Fehlerbehebung beim Zurückschreiben geänderter Dateien auf bestimmten Geräten
- Migration von Cloud-Zugangs-Tokens und Tresor-Passwörtern zu AES 256bit GCM
Original file line number Diff line number Diff line change
@@ -1 +1 @@
- Fix write back edited file on some devices
- Migrate cloud access tokens and vault passwords to AES 256bit GCM
Original file line number Diff line number Diff line change
@@ -1 +1 @@
- Fix write back edited file on some devices
- Migrate cloud access tokens and vault passwords to AES 256bit GCM
Original file line number Diff line number Diff line change
@@ -1 +1 @@
- Fehlerbehebung beim Zurückschreiben geänderter Dateien auf bestimmten Geräten
- Migration von Cloud-Zugangs-Tokens und Tresor-Passwörtern zu AES 256bit GCM
Original file line number Diff line number Diff line change
@@ -1 +1 @@
- Fix write back edited file on some devices
- Migrate cloud access tokens and vault passwords to AES 256bit GCM
Original file line number Diff line number Diff line change
@@ -1 +1 @@
- Fix write back edited file on some devices
- Migrate cloud access tokens and vault passwords to AES 256bit GCM
Original file line number Diff line number Diff line change
@@ -1 +1 @@
- Fehlerbehebung beim Zurückschreiben geänderter Dateien auf bestimmten Geräten
- Migration von Cloud-Zugangs-Tokens und Tresor-Passwörtern zu AES 256bit GCM
Original file line number Diff line number Diff line change
@@ -1 +1 @@
- Fix write back edited file on some devices
- Migrate cloud access tokens and vault passwords to AES 256bit GCM
Original file line number Diff line number Diff line change
@@ -1 +1 @@
- Fix write back edited file on some devices
- Migrate cloud access tokens and vault passwords to AES 256bit GCM

0 comments on commit c970438

Please sign in to comment.