Skip to content

Commit

Permalink
fix(publish): publish tar
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 101c66f commit efe5c5e
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
5 changes: 0 additions & 5 deletions cico_setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -41,11 +41,6 @@ build_project() {
# run build
npm run build

# create tar file
npm run dist

ls

if [ $? -eq 0 ]; then
echo 'CICO: build OK'
else
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
"typescript": "^2.1.4"
},
"scripts": {
"build": "npm run clean && node node_modules/typescript/bin/tsc -p . && cp LICENSE package.json README.md output",
"build": "npm run clean && node node_modules/typescript/bin/tsc -p . && cp LICENSE package.json README.md output && npm run dist",
"clean": "rm -Rf ca-lsp-server.tar output/",
"dist": "cp -r node_modules output/ && cp ./package.json output/ && node -p -e \"require('./package.json').version\" > output/VERSION && rm -rf output/node_modules/typescript/ && tar cvjf ca-lsp-server.tar -C output/ .",
"semantic-release": "semantic-release pre && npm run build && cp -r .git output && npm publish output/ && semantic-release post"
Expand Down

0 comments on commit efe5c5e

Please sign in to comment.