Skip to content

Commit

Permalink
fix(publish): publish md file
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 d0942a6 commit 96de2cf
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion cico_release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -37,5 +37,7 @@ function publish_tar() {
npm_user=$(npm whoami)

# upload the tar file to the latest release id
curl -X POST -H "Content-Type: application/tar" -u $npm_user:$GH_TOKEN "https://uploads.github.com/repos/fabric8-analytics/fabric8-analytics-lsp-server/releases/$release_id/assets?name=ca-lsp-server.tar"
# curl -X POST -H "Content-Type: application/tar" -u $npm_user:$GH_TOKEN "https://uploads.github.com/repos/fabric8-analytics/fabric8-analytics-lsp-server/releases/$release_id/assets?name=ca-lsp-server.tar"

curl -X POST -H "Content-Type: text/markdown" -u $npm_user:$GH_TOKEN "https://uploads.github.com/repos/fabric8-analytics/fabric8-analytics-lsp-server/releases/$release_id/assets?name=README.md"
}

0 comments on commit 96de2cf

Please sign in to comment.