summaryrefslogtreecommitdiff
path: root/fastlane
diff options
context:
space:
mode:
authorcyberta <cyberta@riseup.net>2023-01-24 01:01:02 +0100
committercyberta <cyberta@riseup.net>2023-01-24 01:01:02 +0100
commit2ce81f736c15a431de9c95059f84dea72c9e2556 (patch)
tree409fe38e03a02590d3ab045d3f81c4b460c1dff1 /fastlane
parent7d0a1f8d8057faa74035de0cee262a46c6fbbe00 (diff)
specify input directory for frameit (framed images)
Diffstat (limited to 'fastlane')
-rw-r--r--fastlane/.env.custom1
-rw-r--r--fastlane/.env.default1
-rw-r--r--fastlane/Fastfile15
-rw-r--r--fastlane/Screengrabfile1
4 files changed, 16 insertions, 2 deletions
diff --git a/fastlane/.env.custom b/fastlane/.env.custom
index 9b65f5d4..5ec9ffd0 100644
--- a/fastlane/.env.custom
+++ b/fastlane/.env.custom
@@ -1,3 +1,4 @@
SCREENGRAB_APP_PACKAGE_NAME="se.leap.riseupvpn"
SCREENGRAB_APP_APK_PATH="app/build/outputs/apk/customProductionFat/debug/RiseupVPN_debug.apk"
SCREENGRAB_TESTS_APK_PATH="app/build/outputs/apk/androidTest/customProductionFat/debug/app-custom-production-fat-debug-androidTest.apk"
+SCREENGRAB_OUTPUT_DIRECTORY="src/custom/fastlane/metadata/android" \ No newline at end of file
diff --git a/fastlane/.env.default b/fastlane/.env.default
index bdb771ce..1362c5f1 100644
--- a/fastlane/.env.default
+++ b/fastlane/.env.default
@@ -1,3 +1,4 @@
SCREENGRAB_APP_PACKAGE_NAME="se.leap.bitmaskclient"
SCREENGRAB_APP_APK_PATH="app/build/outputs/apk/normalProductionFat/debug/Bitmask_debug.apk"
SCREENGRAB_TESTS_APK_PATH="app/build/outputs/apk/androidTest/normalProductionFat/debug/app-normal-production-fat-debug-androidTest.apk"
+SCREENGRAB_OUTPUT_DIRECTORY="src/normal/fastlane/metadata/android" \ No newline at end of file
diff --git a/fastlane/Fastfile b/fastlane/Fastfile
index a0e25930..99d540ed 100644
--- a/fastlane/Fastfile
+++ b/fastlane/Fastfile
@@ -59,7 +59,12 @@ platform :android do
# Prepare builds for Automatic UI Tests
build_bitmask_for_screengrab
capture_android_screenshots
- frameit(white: true)
+ Dir.chdir("../src/normal/fastlane/metadata") do
+ frameit(
+ white: true,
+ path: "."
+ )
+ end
# deliver
end
@@ -67,7 +72,13 @@ platform :android do
# Prepare builds for Automatic UI Tests
build_custom_for_screengrab
capture_android_screenshots
- frameit(white: true)
+ Dir.chdir("../src/custom/fastlane/metadata") do
+ frameit(
+ white: true,
+ path: "."
+ )
+ end
+
# deliver
end
diff --git a/fastlane/Screengrabfile b/fastlane/Screengrabfile
index 8534db2a..317583b0 100644
--- a/fastlane/Screengrabfile
+++ b/fastlane/Screengrabfile
@@ -1,6 +1,7 @@
# remove the leading '#' to uncomment lines
use_tests_in_packages(['se.leap.bitmaskclient.suite'])
+use_timestamp_suffix(false)
# all locales
# locales(['ar', 'az', 'bg', 'bn', 'br', 'ca', 'cs', 'de', 'el', 'es', 'es-AR', 'et', 'eu', 'fa-IR', 'fi', 'fr', 'gl', 'he', 'hr', 'hu', 'id', 'it', 'ja', 'my', 'nl', 'no', 'pl', 'pt-BR', 'pt-PT', 'ro', 'ru', 'tr', 'ug', 'uk', 'vi', 'zh-CN', 'zh-TW'])