Skip to content

Commit

Permalink
ci: fix deploy script to upload github release assets (#4103)
Browse files Browse the repository at this point in the history
  • Loading branch information
arvi3411301 authored Mar 25, 2020
1 parent 41757b5 commit 0a0dfd4
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 1 deletion.
19 changes: 18 additions & 1 deletion .circleci/deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 0a0dfd4

Please sign in to comment.