diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index 6daea25b..05ce6cf3 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -14,13 +14,13 @@ jobs:
os: [windows, macos, ubuntu]
include:
- os: windows
- build: npx caxa -i .. -m 'This_may_take_a_while_to_run_the_first_time_please_wait...' --output 'fosscord-server-windows.exe' -- '{{caxa}}/node_modules/.bin/node' '{{caxa}}/bundle/dist/start.js'
+ build: npx caxa -i . -m 'This_may_take_a_while_to_run_the_first_time_please_wait...' --output 'fosscord-server-windows.exe' -- '{{caxa}}/node_modules/.bin/node' '{{caxa}}/bundle/dist/start.js'
artifact: fosscord-server-windows.exe
- os: macos
- build: npx caxa -i .. -m 'This may take a while to run the first time, please wait...' --output 'fosscord-server.app' -- '{{caxa}}/node_modules/.bin/node' '{{caxa}}/bundle/dist/start.js' && tar -czf 'fosscord-server-macos.app.tgz' 'fosscord-server.app'
+ build: npx caxa -i . -m 'This may take a while to run the first time, please wait...' --output 'fosscord-server.app' -- '{{caxa}}/node_modules/.bin/node' '{{caxa}}/bundle/dist/start.js' && tar -czf 'fosscord-server-macos.app.tgz' 'fosscord-server.app'
artifact: fosscord-server-macos.app.tgz
- os: ubuntu
- build: npx caxa -i .. -m 'This may take a while to run the first time, please wait...' --output 'fosscord' -- '{{caxa}}/node_modules/.bin/node' '{{caxa}}/bundle/dist/start.js' && tar -czf 'fosscord-server-linux.tgz' 'fosscord'
+ build: npx caxa -i . -m 'This may take a while to run the first time, please wait...' --output 'fosscord' -- '{{caxa}}/node_modules/.bin/node' '{{caxa}}/bundle/dist/start.js' && tar -czf 'fosscord-server-linux.tgz' 'fosscord'
artifact: fosscord-server-linux.tgz
runs-on: ${{ matrix.os }}-latest
steps:
@@ -32,9 +32,21 @@ jobs:
node-version: 14
- run: |
cd util
- npm install
+ npm pack
+ cd ../api
+ npm i ../util/fosscord-util-1.0.0.tgz
+ npm pack
+ cd ../cdn
+ npm i ../util/fosscord-util-1.0.0.tgz
+ npm pack
+ cd ../gateway
+ npm i ../util/fosscord-util-1.0.0.tgz
+ npm pack
cd ../bundle
- npm install
+ npm i ../util/fosscord-util-1.0.0.tgz
+ npm i ../cdn/fosscord-cdn-1.0.0.tgz
+ npm i ../gateway/fosscord-gateway-1.0.0.tgz
+ npm i ../api/fosscord-api-1.0.0.tgz
npm i caxa
npm run build
${{ matrix.build }}
diff --git a/util/package.json b/util/package.json
index 69d33844..d84897dc 100644
--- a/util/package.json
+++ b/util/package.json
@@ -1,6 +1,6 @@
{
"name": "@fosscord/util",
- "version": "1.3.55",
+ "version": "1.0.0",
"description": "Utility functions for the all server repositories",
"main": "dist/index.js",
"types": "dist/index.d.ts",
|