Skip to content

Commit

Permalink
fix(publish): use the correct upload url
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 8dfd1d3 commit 3b5f857
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cico_release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -35,5 +35,5 @@ function publish_tar() {
echo $upload_url

# upload the tar file to the latest release id
curl -X POST -H "Content-Type: application/tar" -u $(npm whoami):$GH_TOKEN "https://$upload_url/repos/fabric8-analytics/fabric8-analytics-lsp-server/releases/$release_id/assets?name=ca-lsp-server.tar,label=LSP Server Tar File"
curl -X POST -H "Content-Type: application/tar" -u $(npm whoami):$GH_TOKEN "https://uploads.github.com/repos/fabric8-analytics/fabric8-analytics-lsp-server/releases/$release_id/assets?name=ca-lsp-server.tar,label=LSP Server Tar File"
}

0 comments on commit 3b5f857

Please sign in to comment.