We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f886ea1 commit fefd8b0Copy full SHA for fefd8b0
Makefile
@@ -11,8 +11,15 @@ XCPROJECT := Coder\ Desktop/Coder\ Desktop.xcodeproj
11
SCHEME := Coder\ Desktop
12
SWIFT_VERSION := 6.0
13
14
-MARKETING_VERSION=$(shell git describe --tags --abbrev=0 | sed 's/^v//' | sed 's/-.*$//')
15
CURRENT_PROJECT_VERSION=$(shell git describe --tags)
+ifeq ($(strip $(CURRENT_PROJECT_VERSION)),)
16
+ $(error CURRENT_PROJECT_VERSION cannot be empty)
17
+endif
18
+
19
+MARKETING_VERSION=$(shell git describe --tags --abbrev=0 | sed 's/^v//' | sed 's/-.*$$//')
20
+ifeq ($(strip $(MARKETING_VERSION)),)
21
+ $(error MARKETING_VERSION cannot be empty)
22
23
24
# Define the keychain file name first
25
KEYCHAIN_FILE := app-signing.keychain-db
0 commit comments