26bf209617
Since commit 2687d202809dfaafe8f40f613aec131ad9501433, the Makefile named release.mk stopped handling dependencies between recipes, because they have to be executed separately (from different Github Actions jobs). Using a Makefile no longer provides any real benefit. Replace it by several individual release scripts for simplicity and readability. Refs #5306 <https://github.com/Genymobile/scrcpy/pull/5306> PR #5515 <https://github.com/Genymobile/scrcpy/pull/5515>
23 lines
375 B
Bash
Executable File
23 lines
375 B
Bash
Executable File
#!/bin/bash
|
|
# To customize the version name:
|
|
# VERSION=myversion ./release.sh
|
|
set -e
|
|
|
|
cd "$(dirname ${BASH_SOURCE[0]})"
|
|
rm -rf output
|
|
|
|
./test_server.sh
|
|
./test_client.sh
|
|
|
|
./build_server.sh
|
|
./build_windows.sh 32
|
|
./build_windows.sh 64
|
|
|
|
./package_server.sh
|
|
./package_client.sh win32
|
|
./package_client.sh win64
|
|
|
|
./generate_checksums.sh
|
|
|
|
echo "Release generated in $PWD/output"
|