We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0ddfe7f commit 9994165Copy full SHA for 9994165
1 file changed
.github/macos-installer/Makefile
@@ -21,7 +21,7 @@ GIT_PREFIX := $(PREFIX)/git
21
# Replace -rc with .rc in the version string
22
# This is to ensure compatibility with the format as generated by GIT-VERSION-GEN
23
ORIGINAL_VERSION := $(VERSION)
24
-VERSION := $(shell echo $(ORIGINAL_VERSION) | sed 's/-rc/.rc/g')
+VERSION := $(subst -rc,.rc,$(VERSION))
25
26
BUILD_DIR := $(GITHUB_WORKSPACE)/payload
27
DESTDIR := $(PWD)/stage/git-$(ARCH_UNIV)-$(VERSION)
0 commit comments