Skip to content

Commit 6303fc0

Browse files
authored
<fix>(build): fix release build. (#568)
1 parent ac903ab commit 6303fc0

File tree

3 files changed

+8
-2
lines changed

3 files changed

+8
-2
lines changed

.github/workflows/publish_binary.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
- name: Build with Gradle
2626
run: ./gradlew assemble
2727
- name: Download plugin
28-
run: cd dist/ && bash download_plugin.sh BCOS2 v1.3.0 && bash download_plugin.sh Fabric1 v1.3.0 && bash download_plugin.sh Fabric2 v1.3.0 && bash download_pages.sh v1.3.0 && rm -rf src && cd -
28+
run: cd dist/ && bash download_plugin.sh ALL v1.3.0 && bash download_pages.sh v1.3.0 && rm -rf src && cd -
2929
- name: Pack
3030
run: chmod +x dist/*.sh && mv dist WeCross && tar -zcvf WeCross.tar.gz WeCross
3131
- name: Checksum

.github/workflows/publish_demo.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
- name: Download demo requirements
1818
run: cd demo/ && bash .prepare.sh && cd -
1919
- name: Chmod
20-
run: chmod +x demo/*.sh && chmod +x demo/bcos/*.sh && chmod +x demo/fabric/*.sh && chmod +x demo/fabric2/*.sh
20+
run: chmod +x demo/*.sh && chmod +x demo/*/*.sh
2121
- name: Pack
2222
run: tar -zcvf demo.tar.gz demo/
2323
- name: Checksum

scripts/download_plugin.sh

+6
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,12 @@ main() {
105105
local name=${1}
106106
local tag=${2}
107107
case ${name} in
108+
ALL)
109+
build_plugin_from_source WeCross-BCOS2-Stub ${bcos_stub_url} ${tag}
110+
build_plugin_from_source WeCross-BCOS3-Stub ${bcos3_stub_url} ${tag}
111+
build_plugin_from_source WeCross-Fabric1-Stub ${fabric_stub_url} ${tag}
112+
build_plugin_from_source WeCross-Fabric2-Stub ${fabric2_stub_url} ${tag}
113+
;;
108114
BCOS2)
109115
build_plugin_from_source WeCross-BCOS2-Stub ${bcos_stub_url} ${tag}
110116
;;

0 commit comments

Comments
 (0)