Fix version change creates diff in checkTrackingAddedInDependency lane

The report property in the result.json shouldn't contain a version which would lead to a diff when it changes.
This commit is contained in:
Julian Raufelder 2021-07-26 22:34:11 +02:00
parent f7411f085f
commit 73acd7fc0c
No known key found for this signature in database
GPG Key ID: 17EE71F6634E381D
2 changed files with 3 additions and 3 deletions

View File

@ -229,7 +229,7 @@ platform :android do |options|
FileUtils.mkdir("unsigned") FileUtils.mkdir("unsigned")
FileUtils.cp(lane_context[SharedValues::GRADLE_APK_OUTPUT_PATH], "unsigned/org.cryptomator_#{version}.apk") FileUtils.cp(lane_context[SharedValues::GRADLE_APK_OUTPUT_PATH], "unsigned/org.cryptomator_fdroid.apk")
sh("ISSUEBOT_CURRENT_APPLICATION_ID=org.cryptomator ISSUEBOT_CURRENT_REPLY_FILE=current_result.json php iod-scan-apk.php") sh("ISSUEBOT_CURRENT_APPLICATION_ID=org.cryptomator ISSUEBOT_CURRENT_REPLY_FILE=current_result.json php iod-scan-apk.php")
@ -237,7 +237,7 @@ platform :android do |options|
FileUtils.rm("libinfo.txt") FileUtils.rm("libinfo.txt")
FileUtils.rm("libsmali.txt") FileUtils.rm("libsmali.txt")
FileUtils.rm_r("unsigned") FileUtils.rm_r("unsigned")
FileUtils.rm_r("org.cryptomator_#{version}") FileUtils.rm_r("org.cryptomator_fdroid")
puts "Check if something changed in the APK regarding the dependencies" puts "Check if something changed in the APK regarding the dependencies"

File diff suppressed because one or more lines are too long