Skip to content

Commit

Permalink
add server to release
Browse files Browse the repository at this point in the history
  • Loading branch information
Jerboa-app committed Mar 26, 2024
1 parent 4ef8b1e commit a4dbdb4
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ jobs:
run: |
mkdir psv
cp target/release/psv psv/psv-${{ matrix.os }}
cp target/release/psv-server psv/psv-server-${{ matrix.os }}
cp LICENSE psv/
- name: upload bundle
Expand Down Expand Up @@ -68,9 +69,11 @@ jobs:
run: |
mkdir psv-armv7
cp target/armv7-unknown-linux-gnueabi/release/psv psv-armv7/psv-armv7
cp target/armv7-unknown-linux-gnueabi/release/psv-server psv-server-armv7/psv-armv7
cp LICENSE psv-armv7/
mkdir psv-aarch64
cp target/aarch64-unknown-linux-gnu/release/psv psv-aarch64/psv-aarch64
cp target/aarch64-unknown-linux-gnu/release/psv-server psv-server-aarch64/psv-aarch64
cp LICENSE psv-aarch64/
- name: upload bundle
Expand Down Expand Up @@ -122,12 +125,13 @@ jobs:
mkdir linux windows macos armv7 aarch64
ls
mv psv-ubuntu-20.04 psv-linux-x86_64
for arch in linux-x86_64 macos-latest armv7 aarch64; do mv psv-$arch psv && chmod +x psv && tar -cvf psv-$arch.tar.gz psv LICENSE; done
mv psv-server-ubuntu-20.04 psv-server-linux-x86_64
for arch in linux-x86_64 macos-latest armv7 aarch64; do mv psv-$arch psv && psv-server-$arch psv-server && chmod +x psv && tar -cvf psv-$arch.tar.gz psv LICENSE; done
mv psv-macos-latest.tar.gz psv-macOS.tar.gz
mv psv-windows-latest.exe psv.exe
chmod +x psv.exe
zip psv-windows.zip psv.exe LICENSE
mv psv-server-windows-latest.exe psv-server.exe
zip psv-windows.zip psv.exe psv-server.exe LICENSE
ls
Expand Down
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "psv"
version = "0.0.1"
version = "0.0.2"
edition = "2021"

[[bin]]
Expand Down

0 comments on commit a4dbdb4

Please sign in to comment.