mirror of
https://github.com/spacebarchat/server.git
synced 2024-11-26 12:12:31 +01:00
🐛 fix release
This commit is contained in:
parent
da496d2c10
commit
c9473cab1e
22
.github/workflows/release.yml
vendored
22
.github/workflows/release.yml
vendored
@ -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 }}
|
||||
|
@ -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",
|
||||
|
Loading…
Reference in New Issue
Block a user