Skip to content

Commit 031e329

Browse files
committed
ipatool: Update to 2.1.4
1 parent 2633cc8 commit 031e329

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

makefiles/ipatool.mk

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ endif
55
ifneq (,$(findstring darwin,$(MEMO_TARGET)))
66

77
SUBPROJECTS += ipatool
8-
IPATOOL_VERSION := 2.0.0
8+
IPATOOL_VERSION := 2.1.4
99
DEB_IPATOOL_V ?= $(IPATOOL_VERSION)
1010

1111
ipatool-setup: setup
@@ -17,10 +17,9 @@ ipatool:
1717
@echo "Using previously built ipatool."
1818
else
1919
ipatool: ipatool-setup
20-
sed -e '3s|.*|VERSION="$(DEB_IPATOOL_V)"|' -i $(BUILD_WORK)/ipatool/tools/version.sh
21-
cd $(BUILD_WORK)/ipatool && ./tools/version.sh
2220
cd $(BUILD_WORK)/ipatool && $(DEFAULT_GOLANG_FLAGS) go build \
2321
-trimpath \
22+
-ldflags "-X github.com/majd/ipatool/v2/cmd.version=$(IPATOOL_VERSION)" \
2423
-o $(BUILD_WORK)/ipatool/ipatool
2524
$(INSTALL) -Dm755 $(BUILD_WORK)/ipatool/ipatool -t $(BUILD_STAGE)/ipatool/$(MEMO_PREFIX)$(MEMO_SUB_PREFIX)/bin/
2625
$(call AFTER_BUILD)

0 commit comments

Comments
 (0)