mirror of
https://github.com/Genymobile/scrcpy.git
synced 2026-02-06 14:34:39 +01:00
Allow to pass an explicit version name on release
To build with a specific version name:
VERSION=pr1234 ./release.sh
If not set, it will use the result of "git describe" (as before).
This commit is contained in:
@@ -24,7 +24,7 @@ SERVER_BUILD_DIR := build-server
|
||||
WIN32_BUILD_DIR := build-win32
|
||||
WIN64_BUILD_DIR := build-win64
|
||||
|
||||
VERSION := $(shell git describe --tags --exclude='*install-release' --always)
|
||||
VERSION ?= $(shell git describe --tags --exclude='*install-release' --always)
|
||||
|
||||
DIST := dist
|
||||
WIN32_TARGET_DIR := scrcpy-win32-$(VERSION)
|
||||
|
||||
Reference in New Issue
Block a user