Skip to content

Commit

Permalink
release script improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
phil294 committed Aug 6, 2023
1 parent 7f6307a commit 2e32697
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 7 deletions.
7 changes: 5 additions & 2 deletions .vscodeignore
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@ server/node_modules/typescript/lib/tsserver.js
server/node_modules/typescript/lib/tsserverlibrary.js
server/node_modules/typescript/lib/typescriptServices.js

server/node_modules/coffeescript/{docs,documentation,.github,test,src}
server/node_modules/coffeescript/lib/{coffeescript,coffeescript-browser-compiler-legacy}

.**

**/*.map
Expand All @@ -27,11 +30,11 @@ server/node_modules/typescript/lib/typescriptServices.js
.vsix
scripts

node_modules/.cache/
**/node_modules/.cache/

images

**/.history
todo*
*.log
*.sh
*.sh
10 changes: 5 additions & 5 deletions release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@ yarn upgrade
cd ../test/lsp/fixture
yarn upgrade
cd ../../..
rm -rf server/node_modules/.cache
rm -rf server/node_modules/coffeescript/{docs,documentation,.github,test,src}
rm -rf server/node_modules/coffeescript/lib/{coffeescript,coffeescript-browser-compiler-legacy}
pause

echo 'update typescript?'
pause

git fetch
Expand Down Expand Up @@ -50,14 +50,14 @@ npm publish
cd ..
yarn prepare-publish

yarn vsce package
vsce package

echo 'Check VSIX'
pause

yarn

yarn vsce publish
vsce publish

npx ovsx publish "$(ls -tr coffeesense-*.vsix* |tail -1)" -p "$(cat ~/.open-vsx-access-token)"

Expand Down

0 comments on commit 2e32697

Please sign in to comment.