mirror of
https://github.com/spacebarchat/server.git
synced 2024-11-25 03:33:33 +01:00
fix pre release script
This commit is contained in:
parent
457c0b1e9d
commit
3d7fca8029
5
.github/workflows/release.yml
vendored
5
.github/workflows/release.yml
vendored
@ -15,17 +15,15 @@ jobs:
|
||||
include:
|
||||
- os: windows
|
||||
pre: |
|
||||
cd bundle
|
||||
del /F /S /Q node_modules/@fosscord
|
||||
mklink /D node_modules/@fosscord/api ../api
|
||||
mklink /D node_modules/@fosscord/cdn ../cdn
|
||||
mklink /D node_modules/@fosscord/gateway ../gateway
|
||||
mklink /D node_modules/@fosscord/util ../util
|
||||
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}}/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
|
||||
pre: |
|
||||
cd bundle
|
||||
ln -sf node_modules/@fosscord/api ../api
|
||||
ln -sf node_modules/@fosscord/cdn ../cdn
|
||||
ln -sf node_modules/@fosscord/gateway ../gateway
|
||||
@ -34,7 +32,6 @@ jobs:
|
||||
artifact: fosscord-server-macos.app.tgz
|
||||
- os: ubuntu
|
||||
pre: |
|
||||
cd bundle
|
||||
ln -sf node_modules/@fosscord/api ../api
|
||||
ln -sf node_modules/@fosscord/cdn ../cdn
|
||||
ln -sf node_modules/@fosscord/gateway ../gateway
|
||||
|
Loading…
Reference in New Issue
Block a user