ci: fix deploy script to upload github release assets (#4103)

This commit is contained in:
Aravind Shankar 2020-03-25 16:20:59 +05:30 committed by GitHub
parent 41757b5f7f
commit 0a0dfd4768
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 19 additions and 1 deletions

View File

@ -58,7 +58,24 @@ draft_github_release() {
-r "$CIRCLE_PROJECT_REPONAME" \
-b "${RELEASE_BODY}" \
-draft \
"$CIRCLE_TAG" /build/_cli_output/binaries/ /build/_cli_ext_output/*.tar.gz /build/_cli_ext_output/*.zip
"$CIRCLE_TAG"
echo "uploading cli assets"
ghr -t "$GITHUB_TOKEN" \
-u "$CIRCLE_PROJECT_USERNAME" \
-r "$CIRCLE_PROJECT_REPONAME" \
-draft \
"$CIRCLE_TAG" /build/_cli_output/binaries/
echo "uploading cli-ext assets"
ghr -t "$GITHUB_TOKEN" \
-u "$CIRCLE_PROJECT_USERNAME" \
-r "$CIRCLE_PROJECT_REPONAME" \
-draft \
"$CIRCLE_TAG" /build/_cli_ext_output/*.tar.gz
ghr -t "$GITHUB_TOKEN" \
-u "$CIRCLE_PROJECT_USERNAME" \
-r "$CIRCLE_PROJECT_REPONAME" \
-draft \
"$CIRCLE_TAG" /build/_cli_ext_output/*.zip
}
configure_git() {

View File

@ -25,6 +25,7 @@
### Other changes
- fix deploy script to upload github release assets
- cli: fix parse error returned on console api (close #4126)
- console and cli-ext: fix parsing of wrapped types in SDL
- cli: fix typo in cli example for squash (fix #4047) (#4049)