-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathAndroid-HuaweiAppGallery-StoreSubmit.yaml
43 lines (41 loc) · 1.24 KB
/
Android-HuaweiAppGallery-StoreSubmit.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
directories:
- AC_OUTPUT_DIR
- AC_SOURCE
steps:
- componentType: appcircle_custom_script
componentVersion: 1.0.*
stepName: Custom Script
webUrl: 'https://github.com/appcircleio/appcircle-custom-script'
repoUrl: 'https://github.com/appcircleio/appcircle-custom-script.git'
commit: c163e15
enabled: true
onError: $exit
alwaysRun: false
inputs:
- Execute: bash
- Script: |
export LC_ALL=en_US.UTF-8
export LANG=en_US.UTF-8
export LANGUAGE=en_US.UTF-8
locale
curl -o "./$AndroidFileName" -k $AndroidFileUrl
bundle init
mv "$Gemfile" "Gemfile"
bundle install
mv "$Pluginfile" "Pluginfile"
mkdir fastlane
touch fastlane/Fastfile
mv "$FastFileConfig" "fastlane/Fastfile"
mv "$ApiKey" "$ApiKeyFileName"
bundle exec fastlane add_plugin huawei_appgallery_connect
bundle exec fastlane install_plugins
bundle exec fastlane $FastlaneParams --verbose
if [ $? -eq 0 ]
then
echo "AppGallery progress succeeded"
exit 0
else
echo "AppGallery progress failed :" >&2
exit 1
fi
outputs: []