Skip to content

Commit

Permalink
ci: update release manipulations
Browse files Browse the repository at this point in the history
  • Loading branch information
buxx committed Dec 27, 2023
1 parent a8dedda commit 5236936
Show file tree
Hide file tree
Showing 8 changed files with 3 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ jobs:
run: cargo check --release

- name: Build
run: cargo build --bin battle_gui --bin battle_server --release
run: cargo build --bin battle_gui --bin battle_server --bin oc_launcher --release

- name: Package
run: tools/package_release_windows.sh ${{ github.ref_name }}
Expand Down
Empty file added assets/linux/.index
Empty file.
2 changes: 0 additions & 2 deletions assets/linux/sidea__embedded_server.sh

This file was deleted.

2 changes: 0 additions & 2 deletions assets/linux/sideb__client.sh

This file was deleted.

2 changes: 0 additions & 2 deletions assets/w64/sidea__embedded_server.bat

This file was deleted.

2 changes: 0 additions & 2 deletions assets/w64/sideb__client.bat

This file was deleted.

1 change: 1 addition & 0 deletions tools/package_release_linux.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ FOLDER_NAME=OpenCombat_${1}_Linux
mkdir -p ${FOLDER_NAME}
cp target/release/battle_gui ${FOLDER_NAME}
cp target/release/battle_server ${FOLDER_NAME}
cp target/release/oc_launcher ${FOLDER_NAME}/start
cp -r resources ${FOLDER_NAME}
cp assets/linux/* ${FOLDER_NAME}
mkdir -p ${FOLDER_NAME}/assets
Expand Down
1 change: 1 addition & 0 deletions tools/package_release_windows.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ FOLDER_NAME=OpenCombat_${1}_Win64
mkdir ${FOLDER_NAME}
cp target/release/battle_gui.exe ${FOLDER_NAME}
cp target/release/battle_server.exe ${FOLDER_NAME}
cp target/release/oc_launcher.exe ${FOLDER_NAME}/start.exe
cp -r resources ${FOLDER_NAME}
cp assets/w64/* ${FOLDER_NAME}
mkdir ${FOLDER_NAME}/assets
Expand Down

0 comments on commit 5236936

Please sign in to comment.