File tree 3 files changed +16
-5
lines changed
3 files changed +16
-5
lines changed Original file line number Diff line number Diff line change 21
21
- name : Checkout
22
22
uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
23
23
with :
24
- fetch-depth : 1
24
+ fetch-depth : 0
25
+ fetch-tags : true
25
26
persist-credentials : false
26
27
27
28
- run : git fetch --tags
45
46
- name : Checkout
46
47
uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
47
48
with :
48
- fetch-depth : 1
49
+ fetch-depth : 0
50
+ fetch-tags : true
49
51
persist-credentials : false
50
52
51
53
- run : git fetch --tags
69
71
- name : Checkout
70
72
uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
71
73
with :
72
- fetch-depth : 1
74
+ fetch-depth : 0
75
+ fetch-tags : true
73
76
persist-credentials : false
74
77
75
78
- run : git fetch --tags
Original file line number Diff line number Diff line change 17
17
- name : Checkout
18
18
uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
19
19
with :
20
- fetch-depth : 1
20
+ fetch-depth : 0
21
+ fetch-tags : true
21
22
persist-credentials : false
22
23
23
24
- run : git fetch --tags
Original file line number Diff line number Diff line change @@ -11,8 +11,15 @@ XCPROJECT := Coder\ Desktop/Coder\ Desktop.xcodeproj
11
11
SCHEME := Coder\ Desktop
12
12
SWIFT_VERSION := 6.0
13
13
14
- MARKETING_VERSION =$(shell git describe --tags --abbrev=0 | sed 's/^v//' | sed 's/-.* $//')
15
14
CURRENT_PROJECT_VERSION =$(shell git describe --tags)
15
+ 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
+ endif
16
23
17
24
# Define the keychain file name first
18
25
KEYCHAIN_FILE := app-signing.keychain-db
You can’t perform that action at this time.
0 commit comments