-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathSonicLairAndroid.gocd.yaml
57 lines (57 loc) · 1.61 KB
/
SonicLairAndroid.gocd.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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
format_version: 10
pipelines:
SonicLairAndroid:
group: defaultGroup
label_template: ${COUNT}
lock_behavior: none
display_order: -1
materials:
git-89737ad:
git: https://github.com/thelinkin3000/SonicLair
shallow_clone: false
auto_update: true
branch: dev
stages:
- Build:
fetch_materials: true
keep_artifacts: false
clean_workspace: false
approval:
type: success
allow_only_on_success: false
jobs:
Build:
timeout: 0
tasks:
- exec:
arguments:
- install
- --legacy-peer-deps
command: npm
run_if: passed
- exec:
arguments:
- run
- build
command: npm
run_if: passed
- exec:
arguments:
- cap
- sync
- android
command: npx
run_if: passed
- exec:
arguments:
- /var/go/releasekey.jks
- android/app/releasekey.jks
command: cp
run_if: passed
- script: cd android && chmod +x ./gradlew && ./gradlew :app:lintRelease &&./gradlew assembleRelease
- exec:
arguments:
- android/app/build/outputs/apk/release/app-release.apk
- /var/go/soniclair.apk
command: cp
run_if: passed