Skip to content

Commit

Permalink
fix zipping dist assets on build
Browse files Browse the repository at this point in the history
  • Loading branch information
endel committed May 11, 2023
1 parent 069dfb1 commit 5bb33ff
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
3 changes: 0 additions & 3 deletions .github/workflows/release-and-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,6 @@ jobs:
npm ci
npm run build-ci
- name: Create dist asset
run: zip --junk-paths colyseus-js-client build/*

- id: check
uses: EndBug/version-check@v2
with:
Expand Down
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,14 +1,15 @@
{
"name": "colyseus.js",
"version": "0.15.7",
"version": "0.15.8",
"description": "Colyseus Multiplayer SDK for JavaScript/TypeScript",
"author": "Endel Dreyer",
"license": "MIT",
"scripts": {
"test": "mocha test/*.ts --require ts-node/register",
"build": "rollup -c rollup.config.js",
"build-dist-dts": "dts-bundle-generator --config dts-generator.json",
"build-ci": "tsc && npm run build && npm run build-dist-dts",
"build-ci": "tsc && npm run build && npm run build-dist-dts && npm run build-zip-dist",
"build-zip-dist": "zip --junk-paths colyseus-js-client dist/colyseus.*",
"build-all": "tsc && npm run build && npm run build-dist-dts && npm run copy-cocos-creator-files && npm run copy-construct3-files",
"copy-construct3-files": "cp dist/colyseus.js ../colyseus-construct3/plugin/colyseus.js",
"copy-cocos-creator-files": "cp dist/colyseus.js cocos-creator-3-extension/colyseus-sdk/runtime && cp dist/colyseus.d.ts cocos-creator-3-extension/colyseus-sdk/runtime",
Expand Down

0 comments on commit 5bb33ff

Please sign in to comment.