mirror of https://github.com/Genymobile/scrcpy
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:
parent
0c95794463
commit
3b241af3f6
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue