Skip to content

Commit 3795443

Browse files
authored
fix: upload apisix-runtime deb to cos (api7#344)
Signed-off-by: Sn0rt <wangguohao.2009@gmail.com>
1 parent 3009682 commit 3795443

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

utils/publish-deb.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -149,6 +149,11 @@ func_deb_upload() {
149149
find "${1}" -type f -name "apisix-base*.deb" \
150150
-exec echo "upload : {}" \; \
151151
-exec sh -c 'coscmd -b "${BUCKET}" -r "${COS_GLOBAL_REGION}" upload {} "/packages/${arch_path}${OS}/pool/${CODENAME}/main/a/apisix-base/${UPLOAD_TARGET_FILE}"' \;
152+
153+
find "${1}" -type f -name "apisix-runtime*.deb" \
154+
-exec echo "upload : {}" \; \
155+
-exec sh -c 'coscmd -b "${BUCKET}" -r "${COS_GLOBAL_REGION}" upload {} "/packages/${arch_path}${OS}/pool/${CODENAME}/main/a/apisix-runtime/${UPLOAD_TARGET_FILE}"' \;
156+
152157
}
153158

154159
func_repo_publish() {

0 commit comments

Comments
 (0)