Get optional device/platform from scripts
This commit is contained in:
parent
d9edef2f3c
commit
4fb457aee2
|
@ -1,6 +1,9 @@
|
|||
#!/bin/bash
|
||||
cwd=`dirname $0`
|
||||
devices=("iphone ipad mac appletv")
|
||||
if [[ -n "$1" ]]; then
|
||||
devices=("$1")
|
||||
fi
|
||||
for device in $devices; do
|
||||
$cwd/../screenshots/export.sh $device
|
||||
$cwd/../screenshots/compose-device.sh $device
|
||||
|
|
|
@ -1,3 +1,8 @@
|
|||
#!/bin/bash
|
||||
platform=$1
|
||||
platforms=("iOS macOS tvOS")
|
||||
if [[ -n "$1" ]]; then
|
||||
platforms=("$1")
|
||||
fi
|
||||
for platform in $platforms; do
|
||||
bundle exec fastlane --env secret,$platform asc_metadata
|
||||
done
|
||||
|
|
|
@ -1,3 +1,8 @@
|
|||
#!/bin/bash
|
||||
platform=$1
|
||||
platforms=("iOS macOS tvOS")
|
||||
if [[ -n "$1" ]]; then
|
||||
platforms=("$1")
|
||||
fi
|
||||
for platform in $platforms; do
|
||||
bundle exec fastlane --env secret,$platform asc_screenshots
|
||||
done
|
||||
|
|
Loading…
Reference in New Issue