forked from didi/DoKit
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathupload_didi.sh
executable file
·42 lines (40 loc) · 1.51 KB
/
upload_didi.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
39
40
41
42
#!/bin/bash
#定义颜色的变量
RED_COLOR="\033[1;31m" #红
GREEN_COLOR="\033[1;32m" #绿
YELOW_COLOR="\033[1;33m" #黄
BLUE_COLOR="\033[1;34m" #蓝
PINK="\033[1;35m" #粉红
RES="\033[0m"
#./gradlew checkUploadConfig4Didi || ! echo -e "${RED_COLOR}未通过打包的配置检测!!! ${RES}" || exit
./gradlew copyPluginSource
./gradlew clean
#./gradlew assembleRelease
./gradlew :dokit-plugin:assemble --stacktrace
./gradlew :dokit:assembleRelease --stacktrace
./gradlew :dokit-no-op:assembleRelease --stacktrace
./gradlew :dokit-okhttp-api:assembleRelease --stacktrace
./gradlew :dokit-okhttp-v3:assembleRelease --stacktrace
./gradlew :dokit-okhttp-v4:assembleRelease --stacktrace
./gradlew :dokit-util:assembleRelease --stacktrace
./gradlew :dokit-weex:assembleRelease --stacktrace
./gradlew :dokit-ft:assembleRelease --stacktrace
./gradlew :dokit-mc:assembleRelease --stacktrace
./gradlew :dokit-rpc:assembleRelease --stacktrace
./gradlew :dokit-rpc-mc:assembleRelease --stacktrace
./gradlew :dokit-pthread-hook:assembleRelease --stacktrace
#publish
./gradlew :dokit:publish
./gradlew :dokit-ft:publish
./gradlew :dokit-mc:publish
./gradlew :dokit-no-op:publish
./gradlew :dokit-okhttp-api:publish
./gradlew :dokit-okhttp-v3:publish
./gradlew :dokit-okhttp-v4:publish
./gradlew :dokit-plugin:publish
./gradlew :dokit-rpc:publish
./gradlew :dokit-rpc-mc:publish
./gradlew :dokit-util:publish
./gradlew :dokit-weex:publish
./gradlew :dokit-dmap:publish
echo -e "${GREEN_COLOR} 打包上传到滴滴内部仓库完成!!!${RES}"