mirror of
https://github.com/Genymobile/scrcpy.git
synced 2025-12-17 13:34:20 +01:00
Since commit 2687d20280, the Makefile
named release.mk stopped handling dependencies between recipes, because
they have to be executed separately (from different Github Actions
jobs).
There is no real benefit using a Makefile anymore. Replace them by
several individual release scripts for simplicity and readability.
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"
|