Skip to content

Commit

Permalink
fix(test): test the file path
Browse files Browse the repository at this point in the history
  • Loading branch information
jyasveer authored and Jyasveer Gotta committed Aug 31, 2018
1 parent 756cde9 commit 101c66f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions cico_release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -39,5 +39,8 @@ function publish_tar() {
# upload the tar file to the latest release id
filename="./ca-lsp-server.tar"
asset_upload_url="https://uploads.github.com/repos/fabric8-analytics/fabric8-analytics-lsp-server/releases/$release_id/assets?name=$(basename $filename)"

ls

curl -X POST -H "Authorization: token $GH_TOKEN" -H "Content-Type: application/octet-stream" -u $npm_user:$GH_TOKEN --data-binary @"$filename" $asset_upload_url
}

0 comments on commit 101c66f

Please sign in to comment.