Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit1af2771

Browse files
committed
fix(Makefile): add missing dollar sign and add assert for non empty version strings
Change-Id: I83265a11182df6d28f2ef3a5f5454adba27c95eaSigned-off-by: Thomas Kosiewski <tk@coder.com>
1 parentf886ea1 commit1af2771

File tree

3 files changed

+16
-5
lines changed

3 files changed

+16
-5
lines changed

‎.github/workflows/ci.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,8 @@ jobs:
2121
-name:Checkout
2222
uses:actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683# v4.2.2
2323
with:
24-
fetch-depth:1
24+
fetch-depth:0
25+
fetch-tags:true
2526
persist-credentials:false
2627

2728
-run:git fetch --tags
@@ -45,7 +46,8 @@ jobs:
4546
-name:Checkout
4647
uses:actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683# v4.2.2
4748
with:
48-
fetch-depth:1
49+
fetch-depth:0
50+
fetch-tags:true
4951
persist-credentials:false
5052

5153
-run:git fetch --tags
@@ -69,7 +71,8 @@ jobs:
6971
-name:Checkout
7072
uses:actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683# v4.2.2
7173
with:
72-
fetch-depth:1
74+
fetch-depth:0
75+
fetch-tags:true
7376
persist-credentials:false
7477

7578
-run:git fetch --tags

‎.github/workflows/release.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,8 @@ jobs:
1717
-name:Checkout
1818
uses:actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683# v4.2.2
1919
with:
20-
fetch-depth:1
20+
fetch-depth:0
21+
fetch-tags:true
2122
persist-credentials:false
2223

2324
-run:git fetch --tags

‎Makefile

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,15 @@ XCPROJECT := Coder\ Desktop/Coder\ Desktop.xcodeproj
1111
SCHEME := Coder\ Desktop
1212
SWIFT_VERSION := 6.0
1313

14-
MARKETING_VERSION=$(shell git describe --tags --abbrev=0 | sed 's/^v//' | sed 's/-.*$//')
1514
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
1623

1724
# Define the keychain file name first
1825
KEYCHAIN_FILE := app-signing.keychain-db

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp