generated from emilbaehr/automatic-app-landing-page
-
Notifications
You must be signed in to change notification settings - Fork 10
/
init.sh
38 lines (33 loc) · 2.13 KB
/
init.sh
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
#!/bin/bash
set -euo pipefail
# Images
mkdir -p assets/screenshot
curl https://raw.githubusercontent.com/CatimaLoyalty/Android/main/app/src/main/ic_launcher-playstore.png --output assets/appicon.png
curl https://raw.githubusercontent.com/CatimaLoyalty/Android/main/fastlane/metadata/android/en-US/images/phoneScreenshots/screenshot-01.png --output assets/screenshot/screenshot-01.png
curl https://raw.githubusercontent.com/CatimaLoyalty/Android/main/fastlane/metadata/android/en-US/images/phoneScreenshots/screenshot-02.png --output assets/screenshot/screenshot-02.png
curl https://raw.githubusercontent.com/CatimaLoyalty/Android/main/fastlane/metadata/android/en-US/images/phoneScreenshots/screenshot-03.png --output assets/screenshot/screenshot-03.png
curl https://raw.githubusercontent.com/CatimaLoyalty/Android/main/fastlane/metadata/android/en-US/images/phoneScreenshots/screenshot-04.png --output assets/screenshot/screenshot-04.png
curl https://raw.githubusercontent.com/CatimaLoyalty/Android/main/fastlane/metadata/android/en-US/images/phoneScreenshots/screenshot-05.png --output assets/screenshot/screenshot-05.png
curl https://raw.githubusercontent.com/CatimaLoyalty/Android/main/fastlane/metadata/android/en-US/images/phoneScreenshots/screenshot-06.png --output assets/screenshot/screenshot-06.png
curl https://raw.githubusercontent.com/CatimaLoyalty/Android/main/fastlane/metadata/android/en-US/images/phoneScreenshots/screenshot-07.png --output assets/screenshot/screenshot-07.png
curl https://raw.githubusercontent.com/CatimaLoyalty/Android/main/fastlane/metadata/android/en-US/images/phoneScreenshots/screenshot-08.png --output assets/screenshot/screenshot-08.png
# Changelog
cat << EOF > _pages/changelog.md
---
layout: page
title: What's New
include_in_header: true
include_in_footer: true
---
EOF
curl https://raw.githubusercontent.com/CatimaLoyalty/Android/main/CHANGELOG.md >> _pages/changelog.md
# Privacy Policy
cat << EOF > _pages/privacy-policy.md
---
layout: page
title: Privacy Policy
include_in_header: false
include_in_footer: true
---
EOF
curl https://raw.githubusercontent.com/CatimaLoyalty/Android/main/PRIVACY.md >> _pages/privacy-policy.md