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). There is no real benefit using a Makefile anymore. Replace them by several individual release scripts for simplicity and readability.
11 lines
283 B
Bash
Executable File
11 lines
283 B
Bash
Executable File
#!/bin/bash
|
|
set -ex
|
|
cd "$(dirname ${BASH_SOURCE[0]})"
|
|
OUTPUT_DIR="$PWD/output"
|
|
. build_common
|
|
cd .. # root project dir
|
|
|
|
mkdir -p "$OUTPUT_DIR"
|
|
cp "$WORK_DIR/build-server/server/scrcpy-server" "$OUTPUT_DIR/scrcpy-server-$VERSION"
|
|
echo "Generated '$OUTPUT_DIR/scrcpy-server-$VERSION'"
|