From 96de2cf489521591f53b3ed562e3077b22d5dc3f Mon Sep 17 00:00:00 2001 From: Jyasveer Gotta Date: Fri, 31 Aug 2018 16:43:14 +0530 Subject: [PATCH] fix(publish): publish md file --- cico_release.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/cico_release.sh b/cico_release.sh index 946bd4e8..fb0f7958 100755 --- a/cico_release.sh +++ b/cico_release.sh @@ -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" }